Oh, that looks interesting. And API looks good too.
So I guess it doesn’t copy the tree when mutating or it copies only the mutated data, but most of the tree re-uses the same data structures, correct? Did you try to benchmark CPU and memory usage versus a simple deep copy?