by zzzaim · 11y ago · 0 comments
A cursory look at Remutable seems it to be the better and faster option :)
[1] https://github.com/cujojs/jiff
[2] https://tools.ietf.org/html/rfc6902
[3] https://github.com/zaim/immpatch
(edited formatting)
However I realized actual diffing was really slow, especially for large collections, as it involves scanning the entire structure for changes, when in fact all changes could simply be flagged upon mutation. Conceptually, it performs diffing (ie. it gives you a diff object), its just much, much faster!