Repository navigation
[Python] Release 0.53.0
·
227 commits
to master
since this release
Fixed
- Draft 4
type: integermatching afloator not depending on itsrepr; afloatis never a draft 4 integer. - Draft 4
type: integeracceptingDecimal("1E+2"). uniqueItemsaccepting0alongside-0.0in arrays of more than 15 items.
Performance
- Canonicalizing an
allOfof object schemas walks their property maps once instead of looking every key up. propertiesandrequiredcompare short names withoutmemcmp.type: integer, andtypesets containing it, are up to 67x faster on float-heavy instances.- Draft 4
type: integeris up to 20x faster on float-heavy instances. - Raising
ValidationErroris up to 38% faster. evaluateis up to 30% faster, from rendering each node's locations once.- Building a schema resolves each
$reftarget once instead of per reference site. - Building a schema with an
$idencodes each absolute location once instead of re-validating it. enumlisting strings or integers, with or withoutnull, matches against a set instead of comparing each candidate.