Re:Increasing the D Compiler Speed by Over 75%
by acqq on Thursday July 25, 2013 @05:18PM
(#6105064)
Please excuse me for even asking, did you propagate your bump-the-pointer greedy allocator to the lexer (that is, what's behind "mem.malloc" in the code you linked to)? And do you have some idea why would lexing otherwise take so much time for you to notice?
[ Parent
| on HN ]
Re:Increasing the D Compiler Speed by Over 75%
by WalterBright on Thursday July 25, 2013 @05:52PM
(#6105249)
Yes, but the lexer doesn't do too much allocating. I try to avoid allocing in the lexer because of speed issues.