-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add remove() to bitmask_binop! #904
Conversation
In this commit, I am adding a new function remove() to the bitmask_binop! macro. This function removes some set bits from the self instance. Signed-off-by: Uli Schlachter <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #904 +/- ##
==========================================
+ Coverage 12.70% 12.72% +0.01%
==========================================
Files 189 189
Lines 139726 139752 +26
==========================================
+ Hits 17750 17779 +29
+ Misses 121976 121973 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks good to be, but does this cause any significant compile-time regression?
Uhm... I looked at what #884 used for measurements and did it three times: For master:
For this branch:
I'm not quite sure what do say from this... One of the branch builds was even faster. Another round with master:
This branch:
So... I guess the effect on build times is smaller than the noise here? But there might be an effect... |
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.
Good enough for me!
In this commit, I am adding a new function remove() to the bitmask_binop! macro. This function removes some set bits from the self instance.