<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
</div></div>This sounds like something I ran into in my D lexer project. Lexing<br>
Phobos took upwards of 10-15 seconds, which is extremely slow<br>
considering that dmd can *compile* it in just a few seconds. So I did<br>
some profiling, and found out that most of the time was spent formatting<br>
tokens into strings and running writeln. After I commented that out, the<br>
running time dropped to just a few seconds. :-)<br><font class="Apple-style-span" color="#888888"><br></font></blockquote><div><br></div><div>And how different was just a few seconds from 10-15 seconds? :-) </div></div>