-
Notifications
You must be signed in to change notification settings - Fork 370
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
Transform performance #2479
Comments
This is a constant that we cannot rule out because
(actually there I will keep it open, but I do not think it will be not easy to do something with this. |
But after #2476 situations where the calculation time is very long are still comparable, right? |
Yes. After investigating this a bit with @bkamins it appears that the problem notably comes from the fact that e.g. |
and #2476 does exactly this (but not in the most elegant way - i.e. I just add |
Thank you for your work on this. I will benchmark #2476 with DataFramesMeta |
That would be most welcome! |
Update: I don't think things are really that much better. The performance difference between
and
is gone with this update, but any calls which use anonymous functions are still very slow
This is a comparable time on both #2476 and |
Here's an update on the DataFramesMeta side I can get rid of this problem entirely by
The final call is
This solves the "anonymous function" problem, but it doesn't solve the core problem that we over-specialize on the type of |
Thanks! Interesting discussions. It's nice to see that I don't think there's anything to do here. When the data frame is small then I don't care much about the little performance difference. When it gets back then |
I can get down the compilation time to 0.04 seconds by making whole selections.jl file wrapped in
This was exactly what I was thinking of. One optimization to consider would be not to hash |
I am closing this issue then. |
It seems that there's still a lot of room to improve on the table?
Test:
The text was updated successfully, but these errors were encountered: