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.
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.
16 comments
[ 1.6 ms ] story [ 47.5 ms ] threadAs I understand it, usually each line of text is in its own memory buffer.
https://rtheunissen.github.io/bst
[1] https://github.com/clojure/core.rrb-vector
[2] https://github.com/hyPiRion/c-rrb