Skip to content

Less GC pressure when generating delta signature#438

Draft
lmbarros wants to merge 2 commits intomasterfrom
lmb/librsync-memory
Draft

Less GC pressure when generating delta signature#438
lmbarros wants to merge 2 commits intomasterfrom
lmb/librsync-memory

Conversation

@lmbarros
Copy link
Copy Markdown
Contributor

@lmbarros lmbarros commented Jul 7, 2023

Pre-allocate memory used for generating delta signatures. This reduces the pressure on the GC, uses a bit less memory and is a bit faster.

lmbarros added 2 commits July 7, 2023 10:45
The script is not extremely high-quality, but keeping it in the repo
will make it easier to improve it. And, of course, it is already useful
and may help us when working on more delta changes in the future.

Signed-off-by: Leandro Motta Barros <leandro@balena.io>
Change-type: patch
Signed-off-by: Leandro Motta Barros <leandro@balena.io>
Change-type: patch
@lmbarros lmbarros self-assigned this Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant