Skip to content

Speed up with C extensions #340

@jimmymathews

Description

@jimmymathews

In #338 we saw that there is an opportunity to speed up very specific computations -- in that case bitmasking in a long loop -- by delegation from our primary Python package to a C extension.

For this issue, implement this C extension (guide) and to replace a certain numpy call used in #338. This can serve as a template for further speedup of other specific computations in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions