Skip to content

Implement cache spike vector for phy sorting reader#4579

Open
samuelgarcia wants to merge 3 commits into
SpikeInterface:mainfrom
samuelgarcia:faster_read_phy
Open

Implement cache spike vector for phy sorting reader#4579
samuelgarcia wants to merge 3 commits into
SpikeInterface:mainfrom
samuelgarcia:faster_read_phy

Conversation

@samuelgarcia
Copy link
Copy Markdown
Member

@samuelgarcia samuelgarcia commented May 13, 2026

Try to implement the spike vector caching for phy reader in a faster way than #4502

@alejoe91 @grahamfindlay : the implementaion of the caching was slow mainly dur the final lexsort which is normaly not need.

Perfs for the file provide by Graham: (400Mspikes 342 units)

read_phy() + sorting.to_spike_vector() + sorting.to_reordered_spike_vector()

  • main : 19s + 260s + 125s
  • PR 4502 : 16s + 212s (39 + lexsort 200) + 125s
  • this PR : 12s + 12s + 125s

I will work in a sperarte PR to improve the select_unit() and caching.

Important note for us: we should reread all the sorting reader and make the same trick when it is necessary.

@alejoe91 alejoe91 added extractors Related to extractors module performance Performance issues/improvements labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extractors Related to extractors module performance Performance issues/improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants