Executable size

Steven Schveighoffer schveiguy at yahoo.com
Thu May 8 08:31:58 PDT 2008


"terranium" wrote
> Steven Schveighoffer Wrote:
>
>>
>> The built executables include tango/phobos, so you cannot compare that
>> version, unless you want to add in the java runtime jar files :)
>>
> do you think zip can deflate 14MB of executable code to 3MB?

Why not?  Here is an example of tango:

-rw-rw-r-- 1 steves steves 6273270 May  8 11:07 libtango-user-dmd.a
-rw-rw-r-- 1 steves steves 1212253 May  8 11:06 libtango-user-dmd.a.gz

6.3MB -> 1.2MB

By that ratio, 14MB should go down to 2.6MB.

Executable code is very compressable, because it's not very random.

-Steve 





More information about the Digitalmars-d mailing list