3 ms·
Well, this is quite different in the sense that the "patch operations" can also operate on the values, not just add/delete/replace them. In the example, the pat
by ot 13y ago
Well, this is quite different in the sense that the "patch operations" can also operate on the values, not just add/delete/replace them. In the example, the patch pushes and pops elements from the lists, rather than replacing them altogether.
I haven't looked, but I guess it is also recursive on values that are dictionaries themselves. In this case the "patch" is a sort of sequence of edit operations on the dictionary tree.