Repository navigation
[Rust] Release 0.61.2
·
169 commits
to master
since this release
Fixed
- References inside a registered resource resolving against the URI it was registered under instead of its
$id. #1862
Performance
- Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
unevaluatedPropertiesnext toif,dependentSchemas,anyOforoneOfchecked in one pass over the object byis_valid, without validating those subschemas again.allOfbranches that only checkproperties,requiredortype: objectchecked in one pass over the object byis_valid.requiredbesidepropertiesandadditionalProperties: falsechecked in the same pass over the object byis_valid.$refs to a subschema another$refalready compiled dispatched once instead of twice.unevaluatedPropertiesmatching property names by their first and last bytes instead of hashing them.additionalPropertiesthat only checkstypedecided without entering the subschema for each value byis_valid.- Literal-prefix patterns rejecting a property name on its first byte before comparing the rest.
propertyNamesreusing one buffer per thread for the names it checks instead of allocating one per object.propertyNameson thejsonbinstance representation reusing one buffer per thread for the names it checks.- Integer
constandenumvalues compared directly instead of through their decimal forms witharbitrary-precision.