HomeSoftware Heritage

Explicitely implement from_dict instead of using introspection magic.

Description

Explicitely implement from_dict instead of using introspection magic.

There is more repetition, but it's easier to read and
'%timeit Revision.from_dict(d)' is 5 times faster.

Details

Provenance
vlorentzAuthored on May 9 2019, 4:29 PM
vlorentzPushed on May 10 2019, 10:40 AM
Differential Revision
D1456: Explicitely implement from_dict instead of using introspection magic.
Parents
rDMODfc3d3c1c7e3e: Prevent from_dict() from changing its input dict.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 5665
Build 7736: test-and-build