Repository navigation
Bind hash field qualifiers once without growing template segments - #1070
Merged
Merged
Conversation
…nto perf/borrow-normalized-shingles
…nto perf/borrow-normalized-shingles
… into perf/borrow-output-values
…perf/caller-owned-streams
…on' into perf/bound-hash-fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compile static hash-field qualifiers once, reducing repeated parsing when rendering templates. Dynamic defaults, copied templates, snapshot lifetimes and output bytes retain their existing behavior.
AG;DR
Dependencies #1068 and #1069 are merged. The base is current main (
6d6a2c9abf972ffffd064939381a1df2f40c2776). Fresh main-based CI ond95860e8found insufficient changed-line coverage; the refinement below removes the obsolete parser and adds direct classification/default-usage tests. No threshold is weakened and no executable lines are excluded. Fresh current-head CI, not earlier PR contexts, determines readiness.Implementation:
Measurements and costs:
Verification:
docs/benchmarks/hash-field-binding-20261103.md. Its 1,148,942-byte lossless archive has SHA-256e5e1a4c0468510bcb2daaf2dda872405513435e51c7475f60c3e594e7aa5db35; it retains raw timings, source/compiler/configuration/link/binary identities, scripts and validation logs.Final coverage-driven refinement:
docs/benchmarks/hash-field-binding-tag-20261103.mdrecords the refinement. Its 585,438-byte lossless archive has SHA-256558057de3b7c3f6cb8f84632721ad0297deae2e8bd050c7edd2099ba2ef9ebd6; it includes sources, manifests, scripts, raw timings, validation and coverage logs. Preserve the first artifact independently.