Doing a quick benchmark of this new interface and git-annex's use of it, git checkout of a 1 gigabyte file with git-annex providing the smudge filter took:
19 seconds using the smudge interface
11 seconds using smudgeToFile
0.1 seconds with smudgeToFile and annex.thin set
(while also saving 1 gb of disk space!)
So around 2x speed improvement due to not needing to pipe the file content
through the filter, even without git-annex's annex.thin tricks.
--
see shy jo
signature.asc
Description: PGP signature

