Skip to content

Conversation

@loichuder
Copy link
Member

A revised version of #178 to fix #170.

Split useMemo in two in VisProvider (one for ndarray creation, one for slicing).

The useMemo now lives in MappedVis that replaced VisProvider. But it was done.

Simplify unpack(mappedView).flat() by unpacking a flat array directly.

Done with ndarray-ops (scijs/ndarray#32 (comment))

Other tasks were not considered as they depend on cwise which does not seem actively maintained as I pointed out.

Copy link
Contributor

@axelboc axelboc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very well found indeed 👏

@axelboc axelboc mentioned this pull request Sep 16, 2020
5 tasks
@loichuder loichuder merged commit 56b158b into master Sep 16, 2020
@axelboc axelboc deleted the opti-array-reloaded branch September 24, 2020 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimise uses of ndarray

3 participants