[MERGE] sha_file_by_name using raw os files; -Dhashcache

Martin Pool mbp at sourcefrog.net
Sat Oct 6 04:03:55 BST 2007


I thought about using mmap or a subprocess, but was dissuaded for the
moment by portability.  On some unixes mmap is much more restricted on
Linux (eg you can crash if the file is truncated while you're reading
it).  On Windows running sha1sum in a subprocess is probably slower.
It's quite possible but this just seemed like an incremental
improvement.

-- 
Martin



More information about the bazaar mailing list