Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

2.0.0

Choose a tag to compare

@bodil bodil released this 26 Mar 13:34
· 32 commits to master since this release
v2.0.0
a65b16b

CHANGED

  • Bits now does a lot less work, which is now being done instead by the BitOps trait on its storage type. This turns out to improve compilation time quite considerably. If you were using methods on Bits directly, they will have moved to BitOps.
  • Debug now prints a single hex value for the entire bitmap, rather than deferring to the storage type.
  • Iter now takes a reference instead of a copy, which is more sensible for larger bitmaps.

ADDED

  • Bitmap now implements BitAnd, BitOr, BitXor, their equivalent assignation traits, and Not, meaning you can now use bitwise operators on them, even the very big array-of-u128 ones.
  • A Bitmap::mask() constructor has been added, to construct bitmasks more efficiently, now that there are bitwise operators to use them with.