summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-11-17 23:06:58 +0000
committerTaylor Blau <me@ttaylorr.com>2022-11-18 18:30:49 -0500
commit7025f54c40672f5253969e17ad81b1f511fbb04b (patch)
treeff41f766b4a7939c661257fd50a0e0037c175014 /commit.c
parenteea7033409a0ed713c78437fc76486983d211e25 (diff)
delta-islands: free island-related data after use
On my use case involving 771 islands of Linux on kernel.org, this reduces memory usage by around 25MB. The bulk of that comes from free_remote_islands, since free_config_regexes only saves around 40k. This memory is saved early in the memory-intensive pack process, making it available for the remainder of the long process. Signed-off-by: Eric Wong <e@80x24.org> Co-authored-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions