Monday 15 May 2017

Sharing/Storing just the diff instead of a full text?

Right now I'm thinking about how to propagate and store changes across clients.For example, if someone applies a 40 character diff to a 20,000 character string:what's a more efficient way to transmit the diff than to send the entire 20,000 character string?what's an efficient way to store the diff (e.g. revision history) than storing the whole 20,000 character string twice?Wikipedia is probably a good example of where more efficient diff storage would be a good idea. They probably store only the final copy and the entire diff history, rather than each history entry being a full copy. I wasn't able to find anything related to this on google.I'm mostly interested in good reading material or npm libraries for this subjects.

Submitted May 16, 2017 at 12:19AM by LeBuddha

No comments:

Post a Comment