apollo-parser@0.6.0
·
492 commits
to main
since this release
Features
- zero-alloc lexer - allancalix, pull/322
Rewrites the lexer to avoid allocating for each token. Synthetic benchmarks
show about a 25% performance improvement to the parser as a whole.
Fixes
-
fix token limit edge case - goto-bus-stop, pull/619, issue/610
token_limitnow includes the EOF token. In the past you could get
token_limit + 1tokens out of the lexer if the token at the limit was the
EOF token, but now it really always stops attoken_limit. -
create EOF token with empty data - allancalix, pull/591
Makes consuming the token stream's data produce an identical string to the
original input of the lexer.