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

lib/prune: Avoid unnecessary object serialization #2484

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

dbnicholson
Copy link
Member

repo_prune_internal was deserializing each object and passing the
components to maybe_prune_loose_object, which promptly reserialized
it.

I noticed this while thinking about prune memory usage in #2483.

`repo_prune_internal` was deserializing each object and passing the
components to `maybe_prune_loose_object`, which promptly reserialized
it.
@cgwalters cgwalters merged commit f552e30 into ostreedev:main Nov 18, 2021
@dbnicholson dbnicholson deleted the prune-serialize branch November 18, 2021 20:00
@lucab lucab mentioned this pull request Nov 23, 2021
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.

None yet

3 participants