3 ms·
I can see how this is useful if you’re repeatedly updating the same part of a tree. I can’t quite see how to use this approach for random edits. Seems like you’
by sevensor 1y ago
I can see how this is useful if you’re repeatedly updating the same part of a tree. I can’t quite see how to use this approach for random edits. Seems like you’re back at recreating all the nodes back up to the root every time?
- agentultra 1y agoYou’re right! For random access and edits you’ll need a different solution. Maybe some monads to encapsulate the mutations.