Re: Size of translated programs
Juergen Luethje wrote:
> I made some tests and found out, that the .exe size sometimes is
> reduced _considerably_ by shrouding before translating. This applies
> e.g. to several Win32Lib programs. I got the following results with
> 'boxes.exw', that ships with Win32Lib (version 0.58.08).
>
>
> Translated for, and compiled with Borland C++ 5.5.1 Command-line
> Compiler (size of .exe files in bytes):
>
> normal reduced
> ------ -------
> 811008 594432 ==> 26.7% smaller
>
>
> Translated for, and compiled with Open Watcom C/C++ 1.0
> (size of .exe files in bytes):
>
> normal reduced
> ------ -------
> 807424 590336 ==> 26.9% smaller
Thanks. That's surprising.
When I tried to duplicate your results using
boxes.exw in Win32Lib 58.8 and 59.1 (I don't have 58.08)
I got:
normal reduced
------ -------
620,544 607,744
shroud -clear boxes.exw
gave me:
deleted 2249 of 3945 constants
deleted 413 of 677 routines
You might want to double check your results.
I guess it's possible that in your case
there was maybe one critical constant declaration
deleted by the shrouder but not the translator.
The removal of one key declaration could trigger the
removal of scores of other routines and constants.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|