Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxBitsetIdx = 100_000
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bitset ¶
type Bitset interface {
Equals(Bitset) bool
Len() int
Cap() int
Get(int) bool
CountOn() int
CountOff() int
EachOn(interfaces.FuncIter[int]) error
EachOff(interfaces.FuncIter[int]) error
NthOn(int) (int, bool)
Add(int)
Del(int)
DelIfPresent(int)
// contains filtered or unexported methods
}
func MakeBitset ¶
func MakeBitsetOn ¶
Click to show internal directories.
Click to hide internal directories.