From AppleWin 1.25 to 1.26, the EXE size has increased by 644K:
1.25.0.4: 1,620K
1.26.3.6: 2,290K
Notes:
1.26.3.6(master): 2,293K
new logo bitmap: +631K
(old logo bitmap: 212K) - in vcproj only (removed at e1ee664), not in rc script
new yaml lib : +328K (NB. not all code)
now built with VS2008 (was VS2005)
updated to latest zlib.lib
Switch to old logo: file size = 1,874K - still +254K bigger than v1.25
all from yaml lib?
remove yaml.lib: file size = 1,759K - still +139K bigger than v1.25
So yaml.lib accounts for 115K (!)
Why is file size still +139K (cf v1.25)?
Linker: eliminate unreferenced data /OPT:REF (enabled at e1ee664)
file size = 1,550K
what has been eliminated?
NB. not enabled in VS2005 vcproj
re-add yaml.lib:
file size = 1,661K
so yaml.lib still accounting for 111K (!)
From map file:
0001:0008c4a0 _yaml_get_version_string 0048d4a0 f yaml:api.obj
:
0001:000a1950 _yaml_parser_update_buffer 004a2950 f yaml:reader.obj
0001:000a244b ?_Xlen@_String_base@std@@SAXXZ 004a344b f libcpmt:string.obj
Static symbols:
0001:0008d0e0 _yaml_string_read_handler 0048e0e0 f yaml:api.obj
:
0001:000a2330 _yaml_parser_update_raw_buffer 004a3330 f yaml:reader.obj
0001:000a2560 __onexit_nolock 004a3560 f LIBCMT:onexit.obj
so yaml.lib (.text) contribution = union of above overlapping symbols (90K & 87K funcs)
re-add AppleWinLogo.bmp:
file size = 2,080K
Linker: COMDAT folding
file size = 2,080K (no affect)
NB: zip support added at 1.18.0
1.17.1 -> 1.20.0: file size increases by 100K (1500K->1600K)
Current:
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:
From map file: 0001:0008c4a0 _yaml_get_version_string 0048d4a0 f yaml:api.obj : 0001:000a1950 _yaml_parser_update_buffer 004a2950 f yaml:reader.obj 0001:000a244b ?_Xlen@_String_base@std@@SAXXZ 004a344b f libcpmt:string.obj
Static symbols: 0001:0008d0e0 _yaml_string_read_handler 0048e0e0 f yaml:api.obj : 0001:000a2330 _yaml_parser_update_raw_buffer 004a3330 f yaml:reader.obj 0001:000a2560 __onexit_nolock 004a3560 f LIBCMT:onexit.obj
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: