B-Tree Reinvention Debate

Discussions center on whether a new data structure is reinventing B-trees, with comparisons of performance, cache efficiency, and alternatives like crit-bit trees or balanced binary trees in in-memory and database contexts.

📉 Falling 0.3x Databases
3,525
Comments
20
Years Active
5
Top Authors
#7226
Topic ID

Activity Over Time

2007
5
2008
40
2009
61
2010
104
2011
171
2012
131
2013
179
2014
144
2015
206
2016
173
2017
178
2018
217
2019
234
2020
235
2021
289
2022
325
2023
299
2024
314
2025
207
2026
13

Keywords

e.g COW CPU RRB youtu.be greenend.org HashMap vanity.com LMDB SQL trees tree insert cache hash performance indexes data structure data index

Sample Comments

jules Jul 10, 2016 View on HN

Did they try a B-tree and found it to be slower?

Bognar Aug 12, 2023 View on HN

Sounds like we're just reinventing B-trees.

anarazel Sep 4, 2019 View on HN

This type of data structure ought to have much better cache and branch prediction behaviour than most tree implementations.

whimsicalism Dec 2, 2020 View on HN

B-tree would be faster than either

hinkley May 21, 2019 View on HN

Did they just reinvent B trees?

tedunangst Dec 27, 2023 View on HN

More reading: https://www.chiark.greenend.org.uk/~sgtatham/tweak/btree.htm...

lostmsu Jan 30, 2019 View on HN

Any idea why is it not using B-trees?

aidenn0 Oct 7, 2024 View on HN

It's been a while since I last tried things, but I found crit-bit trees[1] to be much faster than b-trees. Hash array-mapped tries are also good if you don't need the things that trees give you (e.g. in-order traversal, get all values in a certain range).1: https://cr.yp.to/critbit.html

bobbbinsIII Aug 21, 2013 View on HN

how often does a normal software developer find himself in a situation where he has to know about B-Trees in depth?

jemfinch Dec 2, 2010 View on HN

How are these better than balanced binary trees that keep subtree size in the node?