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

speed up variable lookups in lowering to help #48990 #49213

Merged
merged 2 commits into from
May 4, 2023

Conversation

JeffBezanson
Copy link
Member

Replace some more linear lookups with hash tables. For the case in #48990 this takes it from ~45 seconds to ~15 seconds. It probably could be better still but this is a nice speedup.

Replace some more linear lookups with hash tables.
@JeffBezanson JeffBezanson added compiler:lowering Syntax lowering (compiler front end, 2nd stage) compiler:latency Compiler latency labels Mar 31, 2023
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straightforward

@KristofferC KristofferC merged commit a632def into master May 4, 2023
@KristofferC KristofferC deleted the jb/loweringperf branch May 4, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants