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

Use a string interner for caching identifiers and strings #19

Open
brendanzab opened this issue Apr 1, 2018 · 0 comments
Open

Use a string interner for caching identifiers and strings #19

brendanzab opened this issue Apr 1, 2018 · 0 comments
Assignees

Comments

@brendanzab
Copy link
Member

brendanzab commented Apr 1, 2018

This should reduce the memory footprint of the type checker, and also make it faster to clone identifiers. LALRPOP uses string_cache for this.

I've updated our name binding crate to support this. See:

@brendanzab brendanzab changed the title Use a string interner for caching identifiers Use a string interner for caching identifiers and strings Apr 1, 2018
brendanzab added a commit that referenced this issue Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants