Lexer in D

Namespace rswhite4 at googlemail.com
Mon Mar 4 02:37:16 PST 2013


I've installed cygwin to use the time benchmark function and that 
are the results:
$ time ./Lexer.exe

real    0m0.225s
user    0m0.015s
sys     0m0.046s

I also read in the std.d.lexer thread that the use of 'char' 
isn't that good for a lexer, because dmd wants to decode 'char' 
to 'dchar'. The usage of ubyte should be better. Is that right?


More information about the Digitalmars-d-learn mailing list