Skip to content

Releases: c2akula/bitarray

BitArray (Stable)

29 Apr 12:30
Compare
Choose a tag to compare

Fixed a bug with the index checking in Range method.

BitArray (Preview)

29 Apr 11:36
Compare
Choose a tag to compare
BitArray (Preview) Pre-release
Pre-release

Compared to the start, or the previous commit, this one is meant to stabilize the package.

Changes

Major

  • New(n) will not allocate if n <= 512. So a backing array is used to avoid allocation until >512 bits are required.

Minor

  • Cleanup of bit-shifting code. Moved them into small procedures.
  • Slight performance improvement of the SwapRange procedure and CopyRange in aligned copy situations.