PureXML/Sources/Schema
Mihaela Mihaljevic 7d3ef26558 perf(xpath): compile patterns once per run, not per node
XSLT: template selection resolves each match pattern once per transform via
a per-run MatchCache (the pattern's node set is computed once over the source
tree; selection becomes an identity lookup), replacing per-(node, template)
recompilation and full-tree re-walks. XSD identity validation: a per-run query
cache compiles each selector/field XPath once instead of at every visited
element. Schematron was verified to already store compiled queries. Behavior
unchanged (all suites green); a multi-template shape test over 300 nodes
guards the optimized path. MatchCache lives in its own file to keep the
transformer under the length cap.

Closes #112
2026-06-10 03:24:38 +02:00
..
BuiltinType.swift
ComplexType.swift
ComplexValidator.swift
ComplexValidatorDerivation.swift
ComplexValidatorHelpers.swift
ComplexValidatorStreaming.swift
ContentMatcher.swift
DateTimeParser.swift
DateTimeValue.swift
DecimalValue.swift
DerivationMethod.swift
IdentityConstraint.swift
IdentityValidator.swift perf(xpath): compile patterns once per run, not per node 2026-06-10 03:24:38 +02:00
Lexical.swift
Primitive.swift
RelaxNGCompactHelpers.swift
RelaxNGCompactLexer.swift
RelaxNGCompactParser.swift
RelaxNGDerivative.swift
RelaxNGDiagnostics.swift
RelaxNGFacets.swift
RelaxNGParser.swift
RelaxNGPattern.swift
RelaxNGSchema.swift
SchemaDocument.swift
SimpleType.swift
StreamingXSDValidator.swift
TypeDerivation.swift
XSDCompletions.swift
XSDComplexContent.swift
XSDContext.swift
XSDDerivation.swift
XSDParser.swift
XSDSimpleParser.swift
XSDValidations.swift
XSDWildcardParser.swift