On 2021-07-30 22:42:25 -0500, Karl Fogel wrote: > On 30 Jul 2021, Daniel Shahaf wrote: > > Increase the svndiff window size, so a single byte addition at the start > > of the file doesn't result in $filesize/100KB delta ops? > > Maybe? I *think* that's a rare case, and if it is then it's probably not > worth the implementation complexity. I believe that when large blobby files > get changed they tend to get changed all over, even when the semantic change > is small (partly because their formats often have built-in compression or > encryption).
This would still be useful in other contexts. I have big text files for which the only changes are near the beginning, mainly because of information stored in reverse-date order (e.g. changelogs). These are not huge files ("only" several MBs), but still among the biggest files of my repositories, and they can change quite often. A textual diff command can handle them, so why not Subversion's internal diff... -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)