]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: newest epochs go first in alternates
authorEric Wong <e@yhbt.net>
Sun, 26 Jan 2020 23:41:02 +0000 (23:41 +0000)
committerEric Wong <e@yhbt.net>
Tue, 28 Jan 2020 03:00:42 +0000 (03:00 +0000)
commit8122bd3803b7520ab5421df264406e670e3f902b
tree79684c51448c7c233dc89cab0a8b9ea7a9a61eca
parent436f9dfcd3e3d3e65cb882fd518634d9f95ac19c
v2writable: newest epochs go first in alternates

New epochs are the most likely to have loose objects.  git won't
be able to take advantage of pack indices and needs to scan
every alternate for the loose object via open/openat syscalls.
Those syscalls will add up some day when we've got hundreds or
thousands of epochs.
lib/PublicInbox/V2Writable.pm
t/v2writable.t