Skip to content

PERF: Remove use of generators in Cython code #898

@mdboom

Description

@mdboom

Is this a duplicate?

Area

General cuda-python

Is your feature request related to a problem? Please describe.

Generators create very inefficient code in Cython, relative to a simple C for loop, and the overhead is especially bad when the sequences are small.

Describe the solution you'd like

We should remove instances of generators where ever possible.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

P1Medium priority - Should docuda.bindingsEverything related to the cuda.bindings moduleenhancementAny code-related improvementstriageNeeds the team's attention

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions