The binary search operation can be sped up by only assuming that the keys have the "small" encoding format. Repurpose the unused "endianness" flag to indicate that the node only has small keys. When the flag is 0 (the current value), assume that the node contains small and large keys.
The binary search operation can be sped up by only assuming that the keys have the "small" encoding format. Repurpose the unused "endianness" flag to indicate that the node only has small keys. When the flag is 0 (the current value), assume that the node contains small and large keys.