AppleWin / AppleWin

Apple II emulator for Windows
GNU General Public License v2.0
707 stars 163 forks source link

Investigate AppleWin.exe's increase in file-size #531

Open tomcw opened 6 years ago

tomcw commented 6 years ago

From AppleWin 1.25 to 1.26, the EXE size has increased by 644K:


Notes:

1.26.3.6(master): 2,293K

Switch to old logo: file size = 1,874K - still +254K bigger than v1.25

remove yaml.lib: file size = 1,759K - still +139K bigger than v1.25

Why is file size still +139K (cf v1.25)?

Linker: eliminate unreferenced data /OPT:REF (enabled at e1ee664)

re-add yaml.lib:

re-add AppleWinLogo.bmp:

Linker: COMDAT folding

NB: zip support added at 1.18.0 1.17.1 -> 1.20.0: file size increases by 100K (1500K->1600K) Current:

TODO:

tomcw commented 4 years ago

1.26.3.6 -> 1.27.0.0 (2290KB -> 2079KB = -211KB)

1.27.9.0 -> 1.28.0.0 (2081KB -> 2094KB = +13KB)

1.28.8.0 -> 1.29.0.0 (2102KB -> 2117KB = +15KB)

1.29.2.0 -> 1.29.3.0 (2117KB -> 2128KB = +11KB)