Files
Malte Ubl b552bc1354 Read module constants as their literal values
`const DOT = 0x2e` at module scope was a global that every reader loaded (a
thread-local load in worker programs), hiding the value from integer ranges,
switch dispatch and LLVM. foldConstantGlobals rewrites reads of an immutable
number or boolean global that the program writes exactly once, with a literal,
and that has neither a TDZ sentinel nor an initialization flag (globals that
can be read early keep their checked load). The store stays, so namespace
objects still find the value. Library builds keep their globals.
2026-10-10 15:39:28 -07:00
..
2026-07-22 18:08:04 -05:00
2026-10-10 10:08:39 -05:00