HomeSoftware Heritage

model: optimization pass on custom validator

Description

model: optimization pass on custom validator

(This commit is actually doing two things /o\)

  • we inline the type-checking in the custom validator to reduce the number of function call.
  • we optimize some of the custom validator by skipping the creation of intermediate tuples.

Details

Provenance
marmouteAuthored on Sep 22 2022, 2:48 PM
marmoutePushed on Sep 26 2022, 2:28 PM
Differential Revision
D8512: various optimisation to the model validation logic.
Parents
rDMOD3796e5ba30ff: model: delete unused validator code
Branches
Unknown
Tags
Unknown
Build Status
Buildable 31747
Build 49670: test-and-buildJenkins console · Jenkins