Article: Increasing the D Compiler Speed by Over 75%

Walter Bright newshound2 at digitalmars.com
Thu Jul 25 11:25:50 PDT 2013


On 7/25/2013 11:21 AM, bearophile wrote:
> Andrei Alexandrescu:
>
>> http://www.reddit.com/r/programming/comments/1j1i30/increasing_the_d_compiler_speed_by_over_75/
>>
>
> Where is the 75% value coming from?

Not sure what you mean. Numbers at the end of the article.


> Regarding the hashing, maybe a different hashing scheme, like Python dicts
> hashing could be better.

It's not the hashing that's slow. It's the lookup that is.


> Regarding Don's problems with memory used by dmd, is it a good idea to add a
> compilation switch like "-cgc" that switches on a garbage collector for the
> compiler (disabled on default)?

It might be.



More information about the Digitalmars-d-announce mailing list