Robert Roessler wrote:
For me, *every* [MS] compiler upgrade in the past has seen REDUCTIONS in code size as the code generation has gotten smarter (v4 > v5 > v6 > vs2003 < vs2005). Grrr. This is with the same options (primarily Lua, static linking, smallest code size and limited inlining... and [formerly] PII/PIII code generation).
[...]
BUT an 83 KB increase on a 458 KB app???
Note that in VC++6 project files, I always add a /opt:nowin98 option to the linker. It used to reduce the size of the created exe, at the cost of more work at load time (IIRC): by default, the compiler padded the generated exe with zeroes to make segments aligned on pages, still IIRC.
I wonder if this more or less hidden option is still here (and effective) in VC2005...
But as Neil states, this is an old timer concern, when you see so-called Notepad replacements weighting several MB, one can wonder if gaining 100KB is worth any effort. Maybe on my old computer with its 6GB hard disk almost full, less on other computers with more than 200GB available...
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
