-
Notifications
You must be signed in to change notification settings - Fork 615
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
(perf): remove out of core median in normalize_total #3379
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3379 +/- ##
==========================================
- Coverage 75.44% 75.44% -0.01%
==========================================
Files 113 113
Lines 13250 13248 -2
==========================================
- Hits 9997 9995 -2
Misses 3253 3253
|
Fair enough. Can this blow up? I.e. is |
So I did some testing with 1Billion cells. 1Billion cells at 64bit are roughly 8GB. The median costs another 8GB. Thats roughly 16GB. I dont think 16GB of Ram is an issue for someone that analyses 1Billion cells. |
Why is this for the 1.12 milestone? |
probably because no 1.11.1 milestone existed for a bit (my fault, I’ll be cleaner about this in the future) |
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.
Please add a test to get the coverage to pass, but the code itself looks fine.
Computing counts per cell for
normalize_total
leads to better performance.