Skip to content

Proper way to iterate using IEnumerable<T> #351

Open
@Nucs

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions