Struct HierarchicalBitset

Public

Thread-safe hierarchical bitset.

Stores an array of bits. Each bit can be set or cleared individually from any thread.

Note

Setting the capacity is not thread-safe, nor is iterating over the bitset while it is being modified.

Inner Types

Public Methods

Clear ()

Clear all bits.

Count ()

Number of set bits in the bitset.

Dispose ()
Get (index)

Get the value of a bit.

GetIndices (result)
GetIterator (scratchBuffer)

Get an iterator over all set bits.

HierarchicalBitset (size, allocator)
Reset (index)

Set a given bit to 0.

Set (index)

Set a given bit to 1.

Public Static Methods

ResetAtomic (span, index)
SetAtomic (span, index)

Public Variables

Capacity
Public
IsCreated
Public
IsEmpty

True if the bitset is empty.

Public
allocator
Public
l1
Public
l2
Public
l3
Public

Public Static Variables

Log64
Public Static