Releases: MrUnbelievable92/Bit-Collections
Releases · MrUnbelievable92/Bit-Collections
v1.0.1
Fixes
- This version is compatible with MaxMath v2.2.0
Improvements
- Improved performance of
Swap
methods for all bitarray types and thus allShuffle
methods, if BMI is not supported
Additions
- Added
SetFirst
,SetLast
,ResetFirst
andResetLast
functions to all bitarray types - Added
CopyTo
functions to all bit array types, which copybool
values or bits to managed arrays, native containers or native bit arrays, respectively - Added bit array constructors that take in
bool
NativeList
s,NativeSlice
s orNativeBitArray
s - Added explicit type conversion operators between all non-allocating bit array types
Changes
- API BREAKING CHANGE: Renamed
Enumerator<T>
andNativeEnumerator<T>
toArrayEnumerator<T>
andNativeArrayEnumerator<T>
, respectively - Bump MaxMath to version 2.2.0
- Bump C Sharp Dev Tools to version 1.0.6
Bit Collections v1.0.0
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
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