Skip to content

Optimise uses of ndarray #170

@axelboc

Description

@axelboc
  • Split useMemo in two in VisProvider (one for ndarray creation, one for slicing).
  • Simplify unpack(mappedView).flat() by unpacking a flat array directly.
  • Find domain with cwise.
  • Create data points for line vis with cwise.
  • Create typed array for heatmap texture without calling flat (pick => shape 1D => unpack), or even without calling Float64Array.from (cwise + push to buffer). - no longer calling flat

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions