HomeSoftware Heritage

model: implement specialized attribute-validator functions

Description

model: implement specialized attribute-validator functions

This should reduces function calls and speeds things up.

It might be useful to introduce even more specialized validator in the
future. It would also be useful to skip the intermediate try/except.

Some of this will be done in later changesets.

Details

Provenance
marmouteAuthored on Sep 20 2022, 4:51 PM
marmoutePushed on Sep 26 2022, 2:28 PM
Differential Revision
D8512: various optimisation to the model validation logic.
Parents
rDMOD1dfea3247702: model: prepare the filtering of type_validator into something faster
Branches
Unknown
Tags
Unknown
Build Status
Buildable 31743
Build 49666: test-and-buildJenkins console · Jenkins