Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less GC pressure when generating delta signature #438

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lmbarros
Copy link
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.

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