崮生(子虚) 2ed666ec58 perf(gsub): parseChainFormat3 coverage/records 数组按 count 预分配
arr: number[][] 与 records 对象数组原用空数组 + push,fmt3 高频路径(每 subtable
三组 coverage + records)触发 GrowFastSmiOrObjectElements。改按已知 count/seqCount
预分配容量 + 下标赋值。

node --prof GrowFast 4.3%→3.6%、ArrayPrototypePush 3.7%→2.5%。FiraCode 输出字节
不变(acc 一致),29 用例 SSIM 全通过。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-25 07:42:40 +08:00
..
2026-04-08 22:05:17 +08:00
2024-08-19 18:10:09 +08:00