-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Keyword calls are still slow #29083
Labels
compiler:optimizer
Optimization passes (mostly in base/compiler/ssair/)
keyword arguments
f(x; keyword=arguments)
performance
Must go faster
Comments
The difference in typed code between no kw and kw
Block 11 is exactly the non-kw version. |
It looks like we just need to make it possible to eliminate the call to |
JeffBezanson
added a commit
that referenced
this issue
Sep 7, 2018
JeffBezanson
added a commit
that referenced
this issue
Sep 7, 2018
KristofferC
pushed a commit
that referenced
this issue
Sep 10, 2018
(cherry picked from commit 65e4c13)
Merged
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
(cherry picked from commit 65e4c13)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
compiler:optimizer
Optimization passes (mostly in base/compiler/ssair/)
keyword arguments
f(x; keyword=arguments)
performance
Must go faster
It seems that keywords are still quite a bit slower than using positional arguments. Interestingly, the slowdown doesn't affect named tuples:
On current master I get:
The text was updated successfully, but these errors were encountered: