Open hurricup opened 4 years ago
Look ahead is too expensive and wasting CPU The alternative (worse one, is LRUcache for lexemes), but we will still need to lex at least once. Also create a lot of strings.
Currently, perltidy lexing takes about 180 ms. And removing lookaheads or complex regular expressions from grammar could not improve things.
Look ahead is too expensive and wasting CPU The alternative (worse one, is LRUcache for lexemes), but we will still need to lex at least once. Also create a lot of strings.