2 ms·
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 lin
by acqq 13y ago
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?
- WalterBright 13y agoYes, but the lexer doesn't do too much allocating. I try to avoid allocing in the lexer because of speed issues.