Helmut Zeisel wrote on Wed, Feb 29, 2012 at 10:41:13 +0100: > My interpretation of this is that "representation-sharing" works well > enough for compiled C++ code, i.e. if I change 2% of source code and > commit the changed objects and libs, then typically a comparable > amount (+/- 2%) of the object code is additionally added to the > repostory and the remaining +/- 98% can be reused from previously > committed object code.
Representation sharing works only on complete files. (If two files are not byte-for-byte identical, it never kicks in.) What you see would be the xdelta binary-diff algorithm being efficient.