Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated running of certain lexers #11

Open
mattbierner opened this issue Nov 15, 2013 · 0 comments
Open

Duplicated running of certain lexers #11

mattbierner opened this issue Nov 15, 2013 · 0 comments

Comments

@mattbierner
Copy link
Owner

Lexing accounts for 70%+ of runtime so a few optimizations may be helpful. One is during identifier lexing, if a reserved word is found as an identifier it should be returned as a reserved word token right away instead of backtracking and then parsing the same reserved word again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant