PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 9
  1. 2.3.0 31 Mar 2025
    Release notes
    • Updated SDK constraint, lints and format.
    • BitArray.setWhere and BitArray.clearWhere for callback-driven updates.
    • BitArray.setRange and BitArray.clearRange for efficient continous-range updates.
    • More efficient BitArray operations: setAll, clearAll.
    • More efficient BitArray operations: and, andNot, or, xor when the parameter is another BitArray.
    Open source →
  2. 2.2.1 08 Sep 2024
    Release notes
    • Updated and fixed lints.
    Open source →
  3. 2.2.0 04 Jun 2021
    Release notes
    • Support BitArray constructing from Uint8List and parsing from binary strings. (#12 by yanivshaked).
    • Fix BitSet highest index. (#10 by yanivshaked).
    Open source →
  4. 2.1.0 20 Apr 2021
    Release notes
    • Migrated to null-safety. (#5 by eugmes).
    Open source →
  5. 2.0.0 27 Jun 2019
    Release notes

    BREAKING CHANGES

    • Changed internal 64-bit int storage to 32-bit ints to be able to run in browsers.
    • asUint32Iterable instead of asUint64Iterable
    Open source →
  6. 1.2.0 13 Apr 2019
    Release notes
    • Counter multiplication can be done with operator *.
    • Support of masking counter (with threshold value).
    • Support of efficient min and max operations in counters.
    Open source →
  7. 1.1.0 06 Apr 2019
    Release notes
    • CompositeSet.clone returns CompositeSet.
    • Support shiftLeft in many operations.
    • Support multiply and clone of counters.
    • Use package:pedantic and Dart 2.2 features.
    Open source →
  8. 1.0.1 09 Nov 2018
    Release notes
    • asUint64Iterable() added to provide interface-level compatibility for future compressed bit arrays.
    • BitSet to have a non-bitarray backed interface (eg. compressed structures).
    • CompositeSet and CompositeCounter for arbitrary-large compressed bitmap operations.
    Open source →
  9. 1.0.0 04 Nov 2018
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive