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 fewer slots in lowering keyword arguments #44333

Merged
merged 1 commit into from
Mar 3, 2022
Merged

use fewer slots in lowering keyword arguments #44333

merged 1 commit into from
Mar 3, 2022

Conversation

JeffBezanson
Copy link
Sponsor Member

helps #44322

With this the time in the issue goes from about 5.5 to 1.5 seconds.

@JeffBezanson JeffBezanson added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Feb 24, 2022
@oscardssmith oscardssmith added the performance Must go faster label Feb 24, 2022
Copy link
Member

@simeonschaub simeonschaub left a comment

Choose a reason for hiding this comment

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

LGTM

@JeffBezanson
Copy link
Sponsor Member Author

Ah, with this we don't have the slot names for reflection...

@vtjnash
Copy link
Sponsor Member

vtjnash commented Feb 25, 2022

As long as you populate the slot names vector, it does not matter if you use them

Also use builtins to cut some time inferring into methods.

helps #44322
@Keno Keno merged commit ea1b9cf into master Mar 3, 2022
@Keno Keno deleted the jb/44322 branch March 3, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage) performance Must go faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants