package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 15, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package bitset provides a fast implementation of Bitsets
also called Bitarray, Bitvector...
Bitset represents a bitset of fixed length
New creates a new bitset instance with length l.
BitLength returns length in bits.
Clear will clear the bit at pos.
Count returns the number of set bits
IsSet checks if bit at pos is set.
Set will set a bit at pos.
SetBits returns a list of indices of bits that are set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.