Skip to content

out kwarg in numpy operations #9

@chillenzer

Description

@chillenzer

The out kwarg in numpy arrays allows to pre-allocate arrays and thereby avoid unnecessary allocations. This is often the first and easiest optimization. We should consider using it, e.g. benchmark some of the present examples and/or create a specific example where this shines. Even if it isn't more efficient than the numba approach, it might be a lower barrier.

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