Skip to content

Fix a performance regression (and address #1532)#1885

Open
kevindoran wants to merge 1 commit into
NeuralEnsemble:masterfrom
kevindoran:biocam-chunk-read-fix
Open

Fix a performance regression (and address #1532)#1885
kevindoran wants to merge 1 commit into
NeuralEnsemble:masterfrom
kevindoran:biocam-chunk-read-fix

Conversation

@kevindoran

@kevindoran kevindoran commented Jul 23, 2026

Copy link
Copy Markdown

Previous commits (starting around 1814bc1) relating to #1532 made a performance regression by forcing an array copy. It causes ~25x slowdown on my machine.

Here we remove the regression, and properly chunk-read in the event of smaller subsets of large arrays being requested, which is a fix for the problem from #1532.

Edit: I previously got confused with a related issue in SpikeingInterface, #3303, which I think is connected.

…troduced.

Previous comments (starting around 1814bc1) attempted to fix issue #3303,
but in doing so, made a performance regression by forcing an array copy.
It causes ~25x slowdown on my machine.

Here we remove the regression, and properly chunk-read in the event of
smaller subsets of large arrays being requested. This also fixed #3303.
@kevindoran kevindoran changed the title Fix a performance regression (and #3303) Fix a performance regression (and address #1532) Jul 23, 2026
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.

1 participant