Lexer in D

Namespace rswhite4 at googlemail.com
Sat Mar 2 06:19:26 PST 2013


With canFind it takes ~300 msecs. :/
Any idea how I could improve it?

> Simpler way is use first letter and length to select a bucket 
> of keywords.

I don't understand how you could do this without AA's and how 
this could be more performant than canFind.


More information about the Digitalmars-d-learn mailing list