- Updated SDK constraint, lints and format.
BitArray.setWhereandBitArray.clearWherefor callback-driven updates.BitArray.setRangeandBitArray.clearRangefor efficient continous-range updates.- More efficient
BitArrayoperations:setAll,clearAll. - More efficient
BitArrayoperations:and,andNot,or,xorwhen the parameter is anotherBitArray.
- Updated and fixed lints.
- Support
BitArrayconstructing fromUint8Listand parsing from binary strings. (#12 by yanivshaked). - Fix
BitSethighest index. (#10 by yanivshaked).
BREAKING CHANGES
- Changed internal 64-bit int storage to 32-bit ints to be able to run in browsers.
asUint32Iterableinstead ofasUint64Iterable
- Counter multiplication can be done with
operator *. - Support of masking counter (with threshold value).
- Support of efficient
minandmaxoperations in counters.
CompositeSet.clonereturnsCompositeSet.- Support
shiftLeftin many operations. - Support multiply and clone of counters.
- Use
package:pedanticand Dart 2.2 features.
asUint64Iterable()added to provide interface-level compatibility for future compressed bit arrays.BitSetto have a non-bitarray backed interface (eg. compressed structures).CompositeSetandCompositeCounterfor arbitrary-large compressed bitmap operations.
- Initial version.