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

[perf] large allowed_lexemes sets #64

Open
mmoskal opened this issue Nov 23, 2024 · 0 comments
Open

[perf] large allowed_lexemes sets #64

mmoskal opened this issue Nov 23, 2024 · 0 comments
Assignees

Comments

@mmoskal
Copy link
Member

mmoskal commented Nov 23, 2024

If the lexer is large, the bitsets will be large. However, the Earley rows are limited (currently to 200 items), so it may make more sense to use a HashSet of lexemes not bitset if the lexer is large.

Second option: put limit on size of lexer.

@mmoskal mmoskal self-assigned this Nov 23, 2024
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