Jonathan Tan <jonathantanmy@xxxxxxxxxx> writes: > Currently, when index-pack resolves deltas, it does not split up delta > trees into threads: each delta base root (an object that is not a > REF_DELTA or OFS_DELTA) can go into its own thread, but all deltas on > that root (direct or indirect) are processed in the same thread. > > This is a problem when a repository contains a large text file (thus, > delta-able) that is modified many times - delta resolution time during > fetching is dominated by processing the deltas corresponding to that > text file. We favor wide and shallow delta trees for both reduced storage footprint and lower runtime overhead, so optimizing the index-pack for that use case makes a lot of sense.