-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
consolidate shifts in polynomial_template #4982
Comments
comment:2
3.4 is for ReST tickets only. Cheers, Michael |
comment:3
The point was to consolidate the three shift methods The attached patch does this. |
Author: Alex Ghitza |
comment:4
Attachment: trac_4982.patch.gz I'm ccing the participants in the discussion at #4965 in case they had something else in mind. |
comment:5
The only issue I can see is the potential performance overhead. Vanilla 4.2.1:
This patch:
Maybe a cdef method could be added which everyone ( |
comment:6
Doctests pass btw., applies cleanly etc. |
comment:7
Attachment: trac_4982_speedup.patch.gz Alex and I were discussing this off-list. The speedup patch does the following:
Here is what I got: Vanilla:
Patch:
Patch + Speed-up:
So there is still some overhead, but I think its acceptable. |
Changed author from Alex Ghitza to Alex Ghitza, Martin Albrecht |
comment:8
So I believe that Martin gave a positive review to my patch, except for the performance issue. I have read and tested his patch, and I'm happy with it. |
Reviewer: Alex Ghitza, Martin Albrecht |
Merged: sage-4.3.alpha1 |
See discussion at end of #4965.
CC: @malb @burcin
Component: algebra
Author: Alex Ghitza, Martin Albrecht
Reviewer: Alex Ghitza, Martin Albrecht
Merged: sage-4.3.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/4982
The text was updated successfully, but these errors were encountered: