> > > This sounds like something I ran into in my D lexer project. Lexing > Phobos took upwards of 10-15 seconds, which is extremely slow > considering that dmd can *compile* it in just a few seconds. So I did > some profiling, and found out that most of the time was spent formatting > tokens into strings and running writeln. After I commented that out, the > running time dropped to just a few seconds. :-) > > And how different was just a few seconds from 10-15 seconds? :-)
- Re: Lexer and parser generat... Nick Sabalausky
- Re: Lexer and parser generat... Philippe Sigaud
- Re: Lexer and parser generat... Nick Sabalausky
- Re: Lexer and parser generators ... Andrei Alexandrescu
- Re: Lexer and parser generat... Nick Sabalausky
- Re: Lexer and parser generat... Andrei Alexandrescu
- Re: Lexer and parser generators using CTFE Andrei Alexandrescu
- Re: Lexer and parser generators using CTFE Timon Gehr
- Re: Lexer and parser generators using CTFE Martin Nowak
- Re: Lexer and parser generators using CTF... H. S. Teoh
- Re: Lexer and parser generators using... d coder
- Re: Lexer and parser generators ... H. S. Teoh
- Re: Lexer and parser generators using... Nick Sabalausky
- Re: Lexer and parser generators using CTF... Timon Gehr
- Re: Lexer and parser generators using... Martin Nowak
- Re: Lexer and parser generators ... Timon Gehr
- Re: Lexer and parser generat... Martin Nowak
- Re: Lexer and parser generat... H. S. Teoh
- Re: Lexer and parser generators using CTFE bcs
- Re: Lexer and parser generators using CTFE Andrei Alexandrescu
- Re: Lexer and parser generators using CTFE Nick Sabalausky