Article: Increasing the D Compiler Speed by Over 75%

Jonathan M Davis jmdavisProg at gmx.com
Thu Jul 25 15:01:42 PDT 2013


On Thursday, July 25, 2013 14:25:20 Walter Bright wrote:
> Also, computing the hash is done exactly once, in the lexer. Thereafter, all
> identifiers are known only by their handles, which are (not coincidentally)
> the pointer to the identifier, and by its very nature is unique.

I've always thought that that was a neat trick. But you seem to have quite a 
few of those in the compiler that you've come up with or learned about over 
the years. We're definitely benefiting from your experience.

- Jonathan M Davis


More information about the Digitalmars-d-announce mailing list