Restore fast typed decoding for ordinary transcripts

This commit is contained in:
2026-11-17 12:57:47 +00:00
parent 19755e1d47
commit 3e107bedd1
4 changed files with 176 additions and 36 deletions

View File

@@ -146,6 +146,12 @@ and processes case variants in the baseline key order. The decoder keeps
numeric tokens intact. Schema tests cover superseded and effective type
mismatches, both case-variant orders, and exact IDs in both envelopes.
The follow-up restores direct typed decoding for ordinary segment arrays.
Arrays with conflicting or escaped keys use compatibility decoding where
needed. Both envelopes were verified with mixed segments. On the same
100,000-segment fixture, median parse time fell from about 0.83 to 0.30
seconds and allocation fell from 162 to 78 MB per parse.
**Affected plan:** Stage 5, item 1.
**Evidence:** The baseline selected the final value of an exact duplicate JSON