logoalt Hacker News

bjoli • 02/19/2025 • 1 reply • view on HN

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.


Replies

bruce343434 • 02/20/2025

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.