Skip to content

BitArray (Preview)

Pre-release
Pre-release

Choose a tag to compare

@c2akula c2akula released this 29 Apr 11:36
· 1 commit to master since this 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.