Skip to content

Releases: MrUnbelievable92/Bit-Collections

v1.0.1

06 Oct 04:28
Compare
Choose a tag to compare

Fixes

  • This version is compatible with MaxMath v2.2.0

Improvements

  • Improved performance of Swap methods for all bitarray types and thus all Shuffle methods, if BMI is not supported

Additions

  • Added SetFirst, SetLast, ResetFirst and ResetLast functions to all bitarray types
  • Added CopyTo functions to all bit array types, which copy bool values or bits to managed arrays, native containers or native bit arrays, respectively
  • Added bit array constructors that take in bool NativeLists, NativeSlices or NativeBitArrays
  • Added explicit type conversion operators between all non-allocating bit array types

Changes

  • API BREAKING CHANGE: Renamed Enumerator<T> and NativeEnumerator<T> to ArrayEnumerator<T> and NativeArrayEnumerator<T>, respectively
  • Bump MaxMath to version 2.2.0
  • Bump C Sharp Dev Tools to version 1.0.6

Bit Collections v1.0.0

24 Mar 18:25
ba0b14a
Compare
Choose a tag to compare

Fixes

  • Fixed "ToArray" member methods of the generic bit array type
  • Fixed "%" operator of the Int40 type

Improvements

  • Added CPU feature check guards when using Burst intrinsics throughout the library
  • Performance improvements for "Shuffle" methods of bit8, bit16, bit32, bit64 and bits types in Burst compiled code if Bmi2 is supported

Additions

  • Added "SetAll(int index, int numNumbers, int value)" functions for all bit-number array types

Changes

  • [API BRAKING CHANGE] Operators of 3-,5-,6- and 7 byte numbers now return (u)ints and (u)longs, respectively, for performance reasons
  • Bump MaxMath to version 2.1.2

BitCollections v0.9.10

19 Jan 12:25
Compare
Choose a tag to compare
Pre-release

Improvements

  • Removed the 'fixed' pattern from the project to improve performance with managed C#

  • Replaced bitarray setter methods for single bits aswell as strings of bits with a branch-free alternative

Additions

  • Added readonly versions of NativeBitArray and NativeBitNumberArray

  • Added "new" Unity.Collections.LowLevel.Unsafe.WriteAccessRequiredAttribute to relevant methods for NativeBitArray and NativeBitNumberArray

Changes

  • (U)Int24, (U)Int40, (U)Int48 and (U)Int56 are now readonly structs