-
Notifications
You must be signed in to change notification settings - Fork 32
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
Improve the interpolation performance and avoid unnecessary state clones #55
Conversation
I updated the code a little bit. I would not say that the complexity reduces, but we know that the concrete efficiency generally improves. I adjusted the comments for this. |
Is it because Anyway, thanks for the review, and I am okay with the changes. |
Do you have the code for that? I am thinking about including a general-purpose case, even if it can be slightly slow (note that this interpolation usually is not the bottleneck). |
I just pushed the code for that, and I managed to avoid the extra field division I thought that I needed.
|
Should |
I think not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I will make a new benchmark diagram later, and we can merge it then.
I will need to look at the |
sure, no rush (temporarily un-approve this for now in case someone merges this accidentally) |
temporarily unapprove this because we have more things to do: #55 (comment)
My bad. Misunderstood your point @weikengchen . fixed with e6d4b9d |
Description
This PR
with this PR
with 3d5c532 (prior to this PR)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
Pending
section inCHANGELOG.md
Files changed
in the Github PR explorer