-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHG: Avoid list comprehension for discrete select #427
Conversation
Codecov ReportBase: 67.99% // Head: 67.97% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev #427 +/- ##
==========================================
- Coverage 67.99% 67.97% -0.02%
==========================================
Files 82 81 -1
Lines 10004 9833 -171
Branches 2074 2032 -42
==========================================
- Hits 6802 6684 -118
+ Misses 2663 2610 -53
Partials 539 539
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @KatharineShapcott, looks like a nice and clean improvement! Probably the biggest speedup comes from harnessing the new _trialslice
and channel_idx
?! However employing list comprehensions to filter data directly definitely was not a good idea in any case..
Yeah I think that was the biggest, but for looping through trialArr multiple times per trial was also not good when it can include 50,000 spikes per trial! |
Changes Summary
Reviewer Checklist