You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Which issue does this PR close?
Closes#1337.
### Rationale for this change
`bit_util` has provided some functions to calculate the ceiling and multiple, so we can use them in `Bitmap::new` to achieve a faster and cleaner code.
### What changes are included in this PR?
### Are there any user-facing changes?
None.
Expected behavior
A clear and concise description of what you expected to happen.
We can use
bit_util::ceil
andbit_util::round_upto_multiple_of_64
to refactor the code.Additional context
Notice when working on #1230
The text was updated successfully, but these errors were encountered: