-
Notifications
You must be signed in to change notification settings - Fork 96
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
Copy in BitRound
#608
Copy in BitRound
#608
Conversation
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.
Thanks Sam! 🙏
This is a good point to follow up
Would actually recommend just copying to start and then doing everything in-place on the copy. Otherwise we are generating a lot of temporary arrays
Mention this as we are doing compression memory usage can be an issue. So we want to reduce the amount of temporary arrays we create if possible
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #608 +/- ##
=======================================
Coverage 99.91% 99.91%
=======================================
Files 59 59
Lines 2327 2328 +1
=======================================
+ Hits 2325 2326 +1
Misses 2 2
|
Thanks Sam! 🙏 |
Release note is in PR: #609 |
I was benchmarking different compression options and realized
BitRound
was overwriting my array in place.Looks like there was discussion on this in the original PR but nothing came of it. Making an explicit copy seems to work fine as well, not sure which is preferred?
cc @rabernat
TODO: