RawRadixTree.Stats

Tree Population and Memory-Usage Statistics.

template RawRadixTree(Value = void)
struct Stats {
SparseLeaf1_PopHist popHist_SparseLeaf1;
DenseLeaf1_PopHist popHist_DenseLeaf1;
SparseBranch_PopHist popHist_SparseBranch;
DenseBranch_PopHist popHist_DenseBranch;
IndexedArray!(size_t, Leaf1!Value.Ix) popByLeaf1Type;
size_t sparseBranchAllocatedSizeSum;
size_t sparseLeaf1AllocatedSizeSum;
}

Members

Variables

heapLeafCount
size_t heapLeafCount;

Number of heap-allocated Leafs. Should always equal heapLeafAllocationBalance.

heapNodeCount
size_t heapNodeCount;

Number of heap-allocated Nodes. Should always equal heapAllocationBalance.

popByNodeType
IndexedArray!(size_t, Node.Ix) popByNodeType;

Maps Node type/index Ix to population.

Meta