Optimisations to time it takes git-annex to walk working tree and find files to work...
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2016 20:47:59 +0000 (16:47 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2016 20:48:57 +0000 (16:48 -0400)
commit8794dcf27b91d959492492a4df89bb03ea93427e
treea6569193a1677ad93a5186064a25f96e905d3f51
parenta8734698ebde94ba5d56ac6c2f50ab5f8abdd11f
Optimisations to time it takes git-annex to walk working tree and find files to work on. Sped up by around 18%.

key2file and file2key were top cost centers according to profiling.
The repeated use of replace was not efficient. This new approach is quite a
lot more efficient.

This commit was sponsored by Denis Dzyubenko on Patreon.
Annex/Locations.hs
CHANGELOG