- Updated SDK constraint, lints and format.
BitArray.setWhere
andBitArray.clearWhere
for callback-driven updates.BitArray.setRange
andBitArray.clearRange
for efficient continous-range updates.- More efficient
BitArray
operations:setAll
,clearAll
. - More efficient
BitArray
operations:and
,andNot
,or
,xor
when the parameter is anotherBitArray
.
- Updated and fixed lints.
- Support
BitArray
constructing fromUint8List
and parsing from binary strings. (#12 by yanivshaked). - Fix
BitSet
highest index. (#10 by yanivshaked).
BREAKING CHANGES
- Changed internal 64-bit int storage to 32-bit ints to be able to run in browsers.
asUint32Iterable
instead ofasUint64Iterable
- Counter multiplication can be done with
operator *
. - Support of masking counter (with threshold value).
- Support of efficient
min
andmax
operations in counters.
CompositeSet.clone
returnsCompositeSet
.- Support
shiftLeft
in many operations. - Support multiply and clone of counters.
- Use
package:pedantic
and Dart 2.2 features.
asUint64Iterable()
added to provide interface-level compatibility for future compressed bit arrays.BitSet
to have a non-bitarray backed interface (eg. compressed structures).CompositeSet
andCompositeCounter
for arbitrary-large compressed bitmap operations.
- Initial version.