by bjoli · 4y ago · 0 comments
That would make it unsuitable for text editor usage.
On a more serious note: the only complex piece of code to write is the merge and split operations, but since the structure of the tree is given it isn't theoretically hard. It is just a pain in the ass.
There are two high quality implementations. One for c++ (immer) and the one in scala.
Bagwell did a talk about it on YouTube as well.