Files
scriptc/packages/compiler
Malte Ubl 83ab6ce2a8 Encode ASCII runs eight bytes at a time in Buffer#write
buf.write(string, 'utf16le' | 'latin1' | 'ascii') decoded one UTF-8
code point per step. tsc-ts converts every source file to UTF-16 this
way (toCodeUnits), so the per-character loop showed up in the profile.
Eight-byte ASCII runs whose units all fit the remaining budget are now
widened (utf16le) or copied directly; any other position, and a tail
that would cross the budget, takes the unchanged per-code-point path, so
truncation at a unit or surrogate boundary is exactly as before.
2026-10-09 10:10:22 -07:00
..
2026-07-22 18:08:04 -05:00
2026-10-08 21:18:31 -05:00
2026-10-08 21:18:31 -05:00