Skip to content
Snippets Groups Projects
Commit 44d84b726c8a authored by Jörg Sonnenberger's avatar Jörg Sonnenberger
Browse files

unbundle: free temporary objects after use

This reduces peak RSS for larger unbundle operations by ~30 Bytes per
changeset on AMD64. This can't be a direct delete for Python 2.7, so
reset the object instead and leave a comment.

The efilesset object can't be deleted as it is referenced by the local
onchangelog function and Python 2.7 rejects a delete on the existance of
a nested scope.

Differential Revision: https://phab.mercurial-scm.org/D9153
parent 232c88dd89e3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment