quickjs/gen
Charlie Gordon f326a7a195
Add strip option in qjsc to reduce object size (#388)
- `-s` strips the source code
- `-ss` strips source and line/column numbers information
- `qjsc repl.js` generates an object size of **105726** bytes
- `qjsc -s repl.js` generates an object size of **20853** bytes
- `qjsc -ss repl.js` generates an object size of only **16147** bytes
- compile repl.js with `-ss`
- bump byte code version to 12
2024-04-19 08:41:12 +02:00
..
function_source.c Add strip option in qjsc to reduce object size (#388) 2024-04-19 08:41:12 +02:00
hello.c Add strip option in qjsc to reduce object size (#388) 2024-04-19 08:41:12 +02:00
hello_module.c Add strip option in qjsc to reduce object size (#388) 2024-04-19 08:41:12 +02:00
repl.c Add strip option in qjsc to reduce object size (#388) 2024-04-19 08:41:12 +02:00
test_fib.c Add strip option in qjsc to reduce object size (#388) 2024-04-19 08:41:12 +02:00