3 ms·
Diffing isn't really needed - usually you either replace a subtree completely or change a few attributes, which isn't hard to write code for. Diffing will alwa
by mosdl 7y ago
Diffing isn't really needed - usually you either replace a subtree completely or change a few attributes, which isn't hard to write code for.
Diffing will always be expensive memory wise.
- aikah 7y ago> Diffing isn't really needed - usually you either replace a subtree completely or change a few attributes, which isn't hard to write code for. Replacing the entire page on model change doesn't work for interactive forms and I don't want to micro-manage every attribute. My model drives the view automatically so diffing is necessary. The memory cost isn't that big if the diff algorithm is implemented efficiently.