Termsslug: b-tree

B+tree

B+ 树

Balanced tree packing many keys per node to reduce pointer chasing, common in databases and indexes.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Open Source
58 pts
Jolt Swaps Red-Black Trees for B+Trees to Cut Peak Memory 40%

Jolt replaced the persistent red-black tree behind its sorted-map and sorted-set with a persistent B+tree, also updating its java.util.TreeMap and TreeSet shims. Each red-black node carried 48 bytes of metadata per entry; the switch cut peak memory by 40% and made most operations faster at every size, at the cost of a separate batch-build path for efficiently constructing many medium-sized maps.