bit_array
A bit array (also known as BitMap, BitSet, BitString, or BitVector) is an array data structure that compactly stores bits.
2.3.0
1.9K downloads/mo
#5501 most downloaded on pub.dev
isoos/bit_array
What this package is like to depend on
Last release 1 years ago
31 Mar 2025
Release timing varies
gaps range from 2 months to 3.3 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
9 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Nov 2018 to Mar 2025
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 9-
2.3.031 Mar 2025Release notes
Open source →- 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.
-
2.2.108 Sep 2024 -
2.2.004 Jun 2021Release notes
Open source →- Support
BitArrayconstructing fromUint8Listand parsing from binary strings. (#12 by yanivshaked). - Fix
BitSethighest index. (#10 by yanivshaked).
- Support
-
2.1.020 Apr 2021 -
2.0.027 Jun 2019Release notes
Open source →BREAKING CHANGES
- Changed internal 64-bit int storage to 32-bit ints to be able to run in browsers.
asUint32Iterableinstead ofasUint64Iterable
-
1.2.013 Apr 2019Release notes
Open source →- Counter multiplication can be done with
operator *. - Support of masking counter (with threshold value).
- Support of efficient
minandmaxoperations in counters.
- Counter multiplication can be done with
-
1.1.006 Apr 2019Release notes
Open source →CompositeSet.clonereturnsCompositeSet.- Support
shiftLeftin many operations. - Support multiply and clone of counters.
- Use
package:pedanticand Dart 2.2 features.
-
1.0.109 Nov 2018Release notes
Open source →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.
-
1.0.004 Nov 2018