-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
speedup integer division #6083
Comments
Attachment: 6083-integer-div.patch.gz |
comment:1
I now get one trivial test failure (changed exception message):
Otherwise, this patch has my approval. |
comment:2
Thanks for looking at these. I'll fix this (the original error seems better). |
comment:3
This patch looks good. I've added a referee patch that makes a few really minor changes:
Unless Robert or Fredrik has any objections to the second patch, I'd say this is good to go. |
comment:4
Yep, looks good. |
comment:5
Unfortunately, this causes a segfault with the 4.0.2.alpha0 singular:
|
comment:6
Attachment: trac-6083-referee.patch.gz It turns out the segfault was coming from an infinite loop in Cython. The issue was that after the first patch above, doing So the new patch adds a small snippet to fix this, and a doctest. |
comment:7
Although I have not been following all the details of this one, I applied all patches successfully to 4.1.alpha2 and ran -testall successfully, so I'm giving it a positive review. |
Author: Robert Bradshaw |
Merged: sage-4.1.rc0 |
Reviewer: Craig Citro |
remove _sig_on and _sig_off for small operands, specialize for int divisor
Component: basic arithmetic
Author: Robert Bradshaw
Reviewer: Craig Citro
Merged: sage-4.1.rc0
Issue created by migration from https://trac.sagemath.org/ticket/6083
The text was updated successfully, but these errors were encountered: