Lexer in D

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Mar 14 10:24:46 PDT 2013


14-Mar-2013 21:20, Namespace пишет:
> Yes, and it's really fun. :)
> By the way, the code can be found here:
> https://github.com/Dgame/Puzzle/blob/master/DLexer.d
> Maybe some of you have an idea how I could improve anything.
> Last trace.log is also there:
> https://github.com/Dgame/Puzzle/blob/master/trace.log
> My goal is about 20 msecs. :D

And my is 15 with Dscanner. But it's stuck at around 21-22.
But both of us can just cheat and buy a newer PC :)

So what we need to count is the number of syscalls + cycles spent in 
user mode to have a meaningful metric.

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list