Skip to content

Proper way to iterate using IEnumerable<T> #351

Description

@Nucs

There should be an approachable way to perform fast foreach on a NDArray.
Currently NDArray implements non-generic IEnumerable which returns a boxed value that can be either the NDArray.dtype or an NDArray.
Boxing causes O(n) operations to be significantly slower on large datasets.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiPublic API surface (np.*, NDArray methods, operators)documentation-neededFeature requires documentation after implementation or depiction of lack of documentationenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions