3 ms·
You might want to take a look into partial persistence data structures https://en.m.wikipedia.org/wiki/Persistent_data_structure https://en.m.wikipedia.org/wiki
by alderz 10y ago
You might want to take a look into partial persistence data structures https://en.m.wikipedia.org/wiki/Persistent_data_structure https://en.m.wikipedia.org/wiki/Persistent_data_structure
The idea is that every change creates a new revision and then you can update the other devices or roll-back previous versions.