3 ms·
It's a reminder that sometimes it's OK to ignore hypothetical problems. "How does git deal with the problem that if we store changes forever, the file size gro
by pocketarc 4y ago
It's a reminder that sometimes it's OK to ignore hypothetical problems.
"How does git deal with the problem that if we store changes forever, the file size grows indefinitely?"
Even though Git uses deltas for diffs to reduce space usage, it still technically grows indefinitely, same as CRDTs. So the answer is it doesn't, and it doesn't matter.
If the size of something actually becomes a problem, -then- it can be handled (e.g. Git LFS).
With CRDTs, depending on what you're doing, it might never become a problem. Keeping all versions of a document is entirely inconsequential, as an example. The size might grow indefinitely but how many edits is a document going to have, realistically?