Skip to main content

BitSet

Classes

A dynamically resizable bitset (bit array) implementation. The bitset automatically grows and shrinks as bits are set and cleared.

Constants

Used for overallocating space when bit set needs to grow

Used to allow some un-assigned space to be retained when shrinking

Minimum number of bits to increase the capacity by

GROW_FACTOR : number

Used for overallocating space when bit set needs to grow

Kind: global constant

DEFAULT_SHRINK_FACTOR : number

Used to allow some un-assigned space to be retained when shrinking

Kind: global constant

RESIZE_COUNT_THRESHOLD : number

Minimum number of bits to increase the capacity by

Kind: global constant

DEFAULT_INITIAL_CAPACITY : number

Kind: global constant
Read only: true