GC vs. Manual Memory Management Real World Comparison

Peter Alexander peter.alexander.au at gmail.com
Thu Sep 6 02:30:02 PDT 2012


On Thursday, 6 September 2012 at 00:00:31 UTC, bearophile wrote:
> Walter Bright:
>
>> I'd like it if you could add some instrumentation to see what 
>> accounts for the time difference. I presume they both use the 
>> same D source code.
>
> Maybe that performance difference comes from the sum of some 
> metric tons of different little optimizations done by the GCC 
> back-end.
>
> Bye,
> bearophile

In addition to Walter's response, it is very rare for advanced 
compiler optimisations to make >2x difference on any non-trivial 
code. Not impossible, but it's definitely suspicious.




More information about the Digitalmars-d-announce mailing list