github Stranger6667/jsonschema rust-v0.41.0
[Rust] Release 0.41.0

latest releases: ruby-v0.46.4, python-v0.46.4, rust-v0.46.4...
3 months ago

Performance

  • Replace regex-based uri-template format validation with a hand-rolled RFC 6570 parser.
  • Specialize items keyword for simple type schemas ({"type": "string"}, {"type": "number"}, etc.) to eliminate dynamic dispatch overhead.
  • Precompute regex matches on known properties.
  • Faster unevaluatedProperties validation via O(1) property lookup and short-circuit oneOf evaluation.
  • Use HashMap for large set of properties.
  • Lower HashMap threshold from 40 to 15 properties for faster property lookups.

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.