BTreeParameters

Static parameters for BTree template.

Members

Variables

allowDuplicates
bool allowDuplicates;

Whether or not to allow duplicates in the B-tree; defaults to false.

customCompare
bool customCompare;

Use a custom comparison function as an alternative to static opCmp.

nodeSlots
size_t nodeSlots;

Max elements stored per node, must be at least 2. Use size_t.max for default.

useBinarySearch
Ternary useBinarySearch;

Whether to use a binary intra-node search. Use Ternary.unknown for default.