Closed big-r81 closed 1 month ago
We could shrink the couchjs_(mainjs|coffee).exe
even more, if we remove the '-g' compiler option ...
If
-g
helps shrink it further we can go for it. It would have to be worth it though, as-g
could help if we get crash dump and there are some symbols in there.
Yeah you’re completely right. Might be easier to read these crash dumps instead of memory addresses 😜.
Enable link-time-optimization for QuickJS on Windows and link pthreads static into couchjs_*.exe.
Reduced binary sizes of ~1.3 MB per couchjs_*.exe.
Before:
After: