-
Notifications
You must be signed in to change notification settings - Fork 2
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
Eliminating dynamic dispatch performance bottleneck #19
base: master
Are you sure you want to change the base?
Conversation
Adding specializations to Base.getproperty and Base.setproperty to eliminate dynamic dispatch on Julia 1.7.0-rc1
Will wait on resolution/RCA on this JuliaLang/julia#42754 before merging. |
Only method mentioned was |
Yeah, but you don't define such a method here, the Unless I'm overlooking something this looks good to me |
Edit:
to detect type piracy. |
@goerch JuliaLang/julia#42754 was merged, I guess that is included in the nightly build already It doesn't really affect the benchmarks included in this repo (but I'm not sure whether they're 100% correct) Let me know if it helps with your benchmarks and whether we still need this merged |
1.6.3 and 1.8.0-DEV now only show marginal improvements, 1.7.0-rc2 is still awaiting the patch. I committed a simplified version of the needed specialization. |
Ok, so what you're saying is that this specialization still yields some noticeable improvements on both 1.6 and master? |
Adding specializations to Base.getproperty and Base.setproperty to eliminate dynamic dispatch on Julia 1.7.0-rc1