Relaxed Radix Balanced Trees (2024)
(peter.horne-khan.com)182 points by jasonjmcghee 2 days ago | 16 comments
182 points by jasonjmcghee 2 days ago | 16 comments
p-hk 2 days ago | root | parent | next |
I can't vouch for them, but there are Clojure[1] and C[2] implementations you might consider.
prospero a day ago | root | parent |
Here’s one in Java: https://github.com/lacuna/bifurcan/blob/master/src/io/lacuna...
reitzensteinm 2 days ago | root | parent | prev | next |
This guide is absolutely fantastic, thank you! You should post it if it hasn't been.
jasonjmcghee 2 days ago | root | parent |
It has, and a pretty good discussion: https://news.ycombinator.com/item?id=37130200
baruchthescribe 2 days ago | root | parent | prev |
Thanks for this resource!
bjoli 2 days ago | prev | next |
I always wanted a comparison to ropes. Every time I see ropes mentioned I always think "why not use RRB trees?". It seems like less housekeeping, but with all the benefits.
bruce343434 2 days ago | root | parent |
Let T[] denote "dynamic array of T": rope = string[] = char[][].
As I understand it, usually each line of text is in its own memory buffer.
neonsunset 2 days ago | prev | next |
If you like radix trees, you may also find this article interesting and useful: https://vincent.bernat.ch/en/blog/2017-ipv4-route-lookup-lin...
lbindreiter 2 days ago | prev |
What tool were those tree structure Illustrations created with? They look really nice!
p-hk 2 days ago | root | parent | next |
Thanks! I used draw.io and tweaked a number of the display properties to make it look more like Excalidraw.
anentropic a day ago | root | parent | next |
I love the styling of this blog post generally too - simple, attractive and pleasant to read - kudos
dlisboa 21 hours ago | root | parent | prev |
Did you do them by hand or use some algorithmic way to construct them?
jasonjmcghee 2 days ago | root | parent | prev | next |
Not the author, but looks similar to excalidraw.
b0in 2 days ago | root | parent | prev | next |
this looks like draw.io with a custom font. edit: nope, i'm wrong, its excalidraw but the effect is almost identical in draw.io.
2 days ago | root | parent | prev |
rtheunissen 2 days ago | next |
I would love to add a good RRB implementation to the persistent benchmarks at [1] to get a state-of-the-art comparison between RRB and BST in a persistent context. Duration, of course, but also number of bytes copied etc.
https://rtheunissen.github.io/bst