DMD 1.006 release

Sean Kelly sean at f4.ca
Thu Feb 15 15:18:25 PST 2007


kris wrote:
> Sean Kelly wrote:
>> Walter Bright wrote:
>>
>>> kris wrote:
>>>
>>>> This release increases the resultant executable size of a trivial 
>>>> HelloWorld program, by around 12KB. What happened?
>>>
>>>
>>> I don't know. Which platform?
>>
>>
>> Win32.  We're still investigating, but building the same code with DMD 
>> 1.0 gives us a HelloWorld EXE of 90,652 bytes.  With 1.005 the same 
>> code gives us a HelloWorld EXE of 113,180 bytes.  I have yet to try 
>> 1.006 but reports indicate that the size is roughly the same as 
>> 1.005.  I think no one simply noticed this until 1.006 experimentation 
>> began today.  If I had to hazard a guess, I'd say most of the size 
>> change is probably a result of the TypeInfo changes post-1.0, but it 
>> will take a while to dig through object files to sort all this out.
>>
>>
>> Sean
> 
> with 1006, the result is 114,716. That's 26% larger than 1.0 ?

Turns out we have been using different flags.  My numbers above are with 
"-release -O -inline" set.  Without these flags the 1.0 EXE is 92,188 
bytes.  This will be a more useful comparison vs. Kris' number above.


Sean



More information about the Digitalmars-d-announce mailing list