git-annex/Upgrade
Joey Hess 19e78816f0
convert Key to ShortByteString
This adds the overhead of a copy when serializing and deserializing keys.
I have not benchmarked much, but runtimes seem barely changed at all by that.

When a lot of keys are in memory, it improves memory use.

And, it prevents keys sometimes getting PINNED in memory and failing to GC,
which is a problem ByteString has sometimes. In particular, git-annex sync
from a borg special remote had that problem and this improved its memory
use by a large amount.

Sponsored-by: Shae Erisson on Patreon
2021-10-05 20:20:08 -04:00
..
V5 simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
V0.hs annex.adjustedbranchrefresh 2020-11-16 14:27:28 -04:00
V1.hs convert Key to ShortByteString 2021-10-05 20:20:08 -04:00
V2.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
V3.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
V4.hs remove most remnants of direct mode 2019-08-26 16:27:48 -04:00
V5.hs remove second pass in scanAnnexedFiles 2021-07-30 17:46:11 -04:00
V6.hs
V7.hs stop using addAssociatedFileFast 2021-06-08 09:23:28 -04:00