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

HIR: cache lowering info #28143

Closed
nrc opened this issue Sep 1, 2015 · 2 comments
Closed

HIR: cache lowering info #28143

nrc opened this issue Sep 1, 2015 · 2 comments
Labels
A-HIR Area: The high-level intermediate representation (HIR)

Comments

@nrc
Copy link
Member

nrc commented Sep 1, 2015

Lowering is O(n) in the number of nodes reached, so could take a while if it happens often (it doesn't at the moment, but could in the future). It might make sense to cache the lowering step, so we can cheaply go from AST to HIR. This is probably most important for tools, rather than the compiler itself.

@steveklabnik steveklabnik added the A-HIR Area: The high-level intermediate representation (HIR) label Sep 3, 2015
@steveklabnik
Copy link
Member

Triage: no idea.

@nikomatsakis
Copy link
Contributor

I sort of think we should close this. It's kind of a complex question and I don't think having this bug is helpful really. Feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-HIR Area: The high-level intermediate representation (HIR)
Projects
None yet
Development

No branches or pull requests

3 participants