Commit 6998987e by Maxime Coste

Avoid costly indirect calls of tStringInput::(un)?getch through TPpContext

There is no calls to the TPpContext that could change the current input, so every calls to pp->getChar and pp->ungetChar ultimately call this->getch and this->ungetch while adding overhead of virtual calls and vector::back.
parent 29051bd1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment