summaryrefslogtreecommitdiffstats
path: root/test/aligned_alloc.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2010-02-28 23:00:18 (GMT)
committerJason Evans <jasone@canonware.com>2010-02-28 23:00:18 (GMT)
commitf3ff75289be32382fa455b4436871e4958fe6bf9 (patch)
treea3443bf0ccb3088b46c822d984216ad5afc60697 /test/aligned_alloc.c
parentfbb504def6f8cb051ac9766b757c2d48d643a281 (diff)
downloadjemalloc-f3ff75289be32382fa455b4436871e4958fe6bf9.zip
jemalloc-f3ff75289be32382fa455b4436871e4958fe6bf9.tar.gz
jemalloc-f3ff75289be32382fa455b4436871e4958fe6bf9.tar.bz2
Rewrite red-black trees.
Use left-leaning 2-3 red-black trees instead of left-leaning 2-3-4 red-black trees. This reduces maximum tree height from (3 lg n) to (2 lg n). Do lazy balance fixup, rather than transforming the tree during the down pass. This improves insert/remove speed by ~30%. Use callback-based iteration rather than macros.
Diffstat (limited to 'test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions