Page MenuHomeSoftware Heritage

Add missing __slots__ to HashableObjectWithManifest
ClosedPublic

Authored by vlorentz on Feb 10 2022, 12:13 PM.

Details

Summary

This should slightly reduce the memory used by dir/rev/rel objects

Diff Detail

Repository
rDMOD Data model
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26728
Build 41795: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 41794: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D7144 (id=25888)

Rebasing onto a0674ad802...

Current branch diff-target is up to date.
Changes applied before test
commit 839e0dcdcb36a5e563a946c8b4d1a8f06478640f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Feb 10 12:13:00 2022 +0100

    Add missing __slots__ to HashableObjectWithManifest
    
    This should slightly reduce the memory used by dir/rev/rel objects

See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/457/ for more details.

This revision is now accepted and ready to land.Feb 10 2022, 2:13 PM