BtreeTCapacity Property |
Namespace: Kaos.Collections
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When supplied value is less than zero. |
The order of a tree (also known as branching factor) is the maximum number of child nodes that a branch may reference. The minimum number of child node references for a non-rightmost branch is order/2. The maximum number of elements in a leaf is order-1. The minimum number of elements in a non-rightmost leaf is order/2.
Changing this property may degrade performance and is provided for experimental purposes only. The default value of 128 should always be adequate.
Attempts to set this value when Count is non-zero are ignored. Non-negative values below 4 or above 256 are ignored.