Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
map: Integrate color into lowest bit of parent pointer
For the implementation of a red-black tree, we can combine the parent pointer and color as what Linux kernel does -- inject the color info in the lowest bit of the parent pointer, resulting in better locaity.
- Loading branch information