Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/6940-const-tables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**Code-shape series:** six constant match ladders in `get_native_module_constant` (zlib 172, os-errno 79, crypto 54, sqlite 45, os-signal 34, fs-tail 33 entries) converted to sorted static tables with binary search — value expressions and per-arm `#[cfg]` attributes preserved verbatim, cfg(unix)/cfg(windows) blocks mirrored as per-platform tables, and every original ladder kept as a test-only reference behind an exhaustive literal-universe oracle (which caught three extraction bugs during development: a hex-literal miss, per-arm cfg loss, and a dual-cfg dedup collision). `dns_const` stays dynamic (it allocates strings at runtime). The constants function family shrinks 46.7 → 18.9 KB; hello-world `__text` drops below 4 MB for the first time (3,976,748 bytes).
Loading
Loading