Repository navigation
[Rust] Release 0.60.0
·
281 commits
to master
since this release
Changed
ValidationErrorKind::EnumandValidationErrorKind::Constantholding their values asArc<Value>shared with the validator, instead of a copy per error. #1777
Performance
- Validation with unfinished regex matches running each such match once instead of once per run, and comparing errors across runs in linear time instead of quadratic. #1784
itemsandadditionalPropertieslooking up a single-keyword subschema once per array or object instead of once per value.is_validandvalidatereading fewer cache lines per subschema, by keeping error locations apart from validators.is_validon recursive schemas caching only$refresults that took many steps to compute, instead of every one.- Error evaluation paths taking memory linear in the
$refnesting depth, not quadratic. #1778