morluto
1d826f304f
fix(process): bound normalized terminal retention before allocation
Pre-count ordered normalization stages before materializing output. Charge original and normalized terminal bytes independently, omit whole over-budget chunks and preserve exact raw counts plus explicit unknown final sizes. Bound rendered normalization, retain legacy capture compatibility, and remove temporary per-match output arrays.
Validation: UTF-8 surrogate boundaries, shrinking/no-op/literal rules, capture validation and public MCP expansion/equal-size controls with verified cleanup. CPU, process-family memory and token changes are unmeasured; no performance speedup claimed. Nonterminal derived payload bounds remain separate work.
Fixes #3168
2026-10-14 16:54:08 +08:00
..
2026-10-12 13:06:51 +08:00
2026-10-12 01:07:22 +08:00
2026-10-12 04:53:27 +08:00
2026-10-14 16:10:46 +08:00
2026-10-14 08:19:07 +08:00
2026-10-13 04:53:03 +00:00
2026-10-14 07:30:14 +08:00
2026-10-12 08:59:14 +08:00
2026-10-13 22:02:47 +08:00
2026-10-13 14:51:23 +08:00
2026-10-14 04:47:34 +08:00
2026-10-14 04:47:34 +08:00
2026-10-12 08:59:14 +08:00
2026-10-13 20:56:20 +08:00
2026-10-13 20:51:44 +08:00
2026-10-14 16:54:08 +08:00
2026-10-13 00:15:12 +08:00
2026-10-14 08:19:07 +08:00
2026-10-14 04:47:34 +08:00
2026-10-13 03:33:27 +08:00
2026-10-12 04:44:13 +08:00
2026-10-13 13:48:24 +08:00
2026-10-14 13:40:53 +08:00
2026-10-14 09:47:57 +08:00