convert all git read/write functions to use ByteStrings

This yields a second or so speedup in unused, find, etc. Seems that even
when the ByteString is immediately split and then converted to Strings,
it's faster.

I may try to push ByteStrings out into more of git-annex gradually,
although I suspect most of the time-critical parts are already covered
now, and many of the rest rely on libraries that only support Strings.
This commit is contained in:
Joey Hess 2011-09-29 23:43:42 -04:00
parent 949ef94d5e
commit 7ff89ccfee
8 changed files with 49 additions and 94 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,6 @@
git-annex (3.20110929) UNRELEASED; urgency=low
* Sped up unused.
* Various speed improvements gained by using ByteStrings.
-- Joey Hess <joeyh@debian.org> Thu, 29 Sep 2011 18:58:53 -0400