Files
scriptc/packages/runtime
Malte Ubl c3c59ccf1c Keep the collector's per-thread state in one thread-local block
The collector's thread-locals in worker executables (disposal queue,
candidate buffers, pass vectors, generation limit and scheduling state)
were twenty separate variables. scr_rc_destroy touched four of them, and
the release and walk paths several more; on Darwin each costs a
_tlv_get_addr call per function. Worker builds now keep them in one
ScrCycThread block (macros keep the sources unchanged); ordinary and
library builds keep separate variables.

tsc-ts self-check, macOS, Worker build vs non-worker build: 1.10x ->
1.08x.
2026-10-09 17:43:51 -07:00
..
2026-07-22 18:08:04 -05:00
2026-10-08 21:18:31 -05:00