Viktor as well as Gustavo of the Minigui forum convinced me that a smaller EXE does not mean faster execution.
Hi CCH, I mean in the execution, for example if we have a window with many controls in an ABM my case, there are 98 in a Textbox Tab, at the beginningof the ABM and the controls are going dabdole Enabled: =. F. Borland is avisual effect of this work with Mingw this is not reflected, the load is instantaneous.
Yes, bcc produces smaller but much slower exes. bcc is by far the slowest of all Windows C compilers.
must chose between size and speed (and there is usually some balanced optimum in between).
FOR tmp := 1 TO 5
is smaller, but slower than this:
This is called loop unrolling optimization, and just one of the many possibilities.
[ Raw launch time is mainly influenced by other things, like storage
medium, number of .dll dependencies, exe compression. Plus of
course any application level init code, which is affected by execution
So, it would appear that it may be worthwhile to try recompiling the mingui.lib using MIngW32 :-)
So the next article would be to let Walter Formigoni to teach us how to do so