| View previous topic :: View next topic |
| Author |
Message |
T800
Joined: 15 Oct 2006 Posts: 31 Location: Croatia
|
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Mon Oct 01, 2007 10:02 am Post subject: |
|
|
I think its not bad idea but I beleive it would duoble the exe size. If it can be done without much sacreficing size of the exe, it would be nice to have. _________________
 |
|
| Back to top |
|
 |
T800
Joined: 15 Oct 2006 Posts: 31 Location: Croatia
|
Posted: Mon Oct 01, 2007 3:46 pm Post subject: |
|
|
Well, I made a static unzip library and it's 176 kb , when you zip it up, it's 57 kb.
For zip component it's 164 kb static, 53 kb zipped.
Plus the use of upx.
There is an option in VS2003 and 2005 called "link time code generation" which AHK project uses,
designed for executable optimization in release configuration.
(the whole process how exe is built is actually quite interesting).
When I'm using this option I get significant (up to 50%)
size reduction and speed optimization in my Zip Thumbnails project.
Just for size comparison, AHK help file is 1,069 MB and runtime exe is 233 kb.
Another option is to use zlib.dll dynamicaly, so then it's optional and no size added. |
|
| Back to top |
|
 |
|