Skip to content

Eliminate CscRecordHeader#973

Merged
JuliaSprenger merged 2 commits intoNeuralEnsemble:masterfrom
PeterNSteinmetz:speedHdrAccess
Jun 17, 2021
Merged

Eliminate CscRecordHeader#973
JuliaSprenger merged 2 commits intoNeuralEnsemble:masterfrom
PeterNSteinmetz:speedHdrAccess

Conversation

@PeterNSteinmetz
Copy link
Copy Markdown
Contributor

Factored out the temporary variables of CscRecordHeader used in Ncs record scanning. Algorithm now reads directly from the memmap which is passed around. No allocation of an object within the loop. Hopefully this will eliminate the curious memory leak noted in issue #971.

@pep8speaks
Copy link
Copy Markdown

pep8speaks commented Apr 20, 2021

Hello @PeterNSteinmetz! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-06-17 06:21:33 UTC

@PeterNSteinmetz
Copy link
Copy Markdown
Contributor Author

Appears to be failing on NixIO. But let's hold off anyway until @JuliaSprenger has weighed in on the memmap performance issue.

@JuliaSprenger
Copy link
Copy Markdown
Member

Hi Peter! Thanks for also looking into speed improvements! I rebased your branch onto master to have the latest version of the tests running.

@JuliaSprenger JuliaSprenger merged commit 73fe9a0 into NeuralEnsemble:master Jun 17, 2021
@PeterNSteinmetz PeterNSteinmetz deleted the speedHdrAccess branch January 29, 2024 21:46
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.

4 participants