Skip to content

Memory views? #4

@krober10nd

Description

@krober10nd

The []-operator still uses full Python operations with memoryviews you can access the data buffer directly at C speed.

https://cython.readthedocs.io/en/latest/src/userguide/numpy_tutorial.html#efficient-indexing-with-memoryviews

bnds[jpos] = 1

Maybe this is useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions