Skip to content

bitformat-0.5.0

Choose a tag to compare

@scott-griffiths scott-griffiths released this 01 Jun 17:24
· 266 commits to main since this release
  • Added the MutableBits class. The 'mutating' methods from Bits (which previously returned a new object) have been moved to the new class and now mutate it. The new class was needed as some performance targets were just impossible to hit without it.

  • Mutating methods in Array now return self so they can be chained.

  • Array.data has been renamed to Array.bits as it's now just a MutableBits (BitsProxy has been removed as it's no longer needed).

  • Significant performance improvements. Most tests now run as fast or faster than competing libraries - there are still some outliers to be worked on though.