Open andychu opened 4 years ago
Current code size:
https://www.oilshell.org/release/0.8.pre4/metrics.wwz/oil-native/overview.txt
We have 30K of code for the lexer, and this could be reduced. But does it increase data size?
symbols vmsize filesize
1 [section .debug_info] 0 2549460
2 [section .debug_loc] 0 1726825
3 [section .debug_str] 0 1224583
4 [section .debug_ranges] 0 415312
5 [section .debug_line] 0 231102
6 [section .rodata] 70704 70704
7 [section .debug_abbrev] 0 33103
8 match::OneToken() 30463 30539
From https://oilshell.zulipchat.com/#narrow/stream/121539-oil-dev/topic/re2c.20codegen.20options
It should make the code smaller while having no speed penalty?