Skip to content

Replace ndarray-ops with local stride-aware copy - #2079

Open
NAThompson wants to merge 1 commit into
silx-kit:mainfrom
NAThompson:feat/2047-local-ndarray-copy
Open

NAThompson wants to merge 1 commit into
silx-kit:mainfrom
NAThompson:feat/2047-local-ndarray-copy

Conversation

@NAThompson

Copy link
Copy Markdown
Contributor

Fixes #2047. Replaces ndarray-ops.assign in createArrayFromView with a local stride-aware copy, removing ndarray-ops, cwise-compiler and uniq along with their runtime code generation. It is 1.1–11× faster on large views, except transposed Uint8/Float64 images (0–10% slower).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

Consider a CSP-safe ndarray copy path

1 participant