So I've managed to optimize my lexer (by precompiling all its regexes into a single large one using alternation), which greatly reduced the runtime.知見
https://eli.thegreenplace.net/2009/03/20/a-recursive-descent-parser-with-an-infix-expression-evaluator/
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
まりはち(ほに) (mrhc@honi.club)'s status on Monday, 07-Aug-2023 21:11:41 JSTまりはち(ほに)