-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Fast function field arithmetic #9051
Comments
Attachment: 9051-FpT_1.patch.gz |
Attachment: 9051-FpT_2.patch.gz Attachment: 9051-FpT_3.patch.gz |
comment:1
Apply all three patches in order. Positive review to |
This comment has been minimized.
This comment has been minimized.
comment:3
Note: 9051-FpT_2.patch is by David Roe. |
Attachment: 9051-FpT_4.patch.gz |
flattened parts1-4 and rebased against sage-4.4.4 |
comment:4
Attachment: trac_9051-flattened_and_rebased.patch.gz I took sage-4.4.4 and applied trac_9051-flattened_and_rebased.patch. Doctesting just rings/ fails very seriously after applying this patch:
|
Fixes the broken doctests |
comment:5
Attachment: trac_9051_polycall_fixes.patch.gz |
comment:6
The most recent patch should be applied on top of the flattened and rebased patche. |
comment:7
I'm running tests with both patches: http://sage.math.washington.edu/home/wstein/build/sage-4.4.4/devel/sage/9051.out |
comment:8
Stuff fails. See above link. |
comment:9
|
Attachment: trac_9051_fixes2.patch.gz Fixes more doctests |
comment:10
Thanks; I was going to run tests while sleeping, but this worked better. I think I have them all now, but I haven't run tests after the fix: I'm doing it on my laptop, so it'll take a while. |
comment:11
Here it goes again: http://sage.math.washington.edu/home/wstein/build/sage-4.4.4/devel/sage/9051-try2.out |
comment:12
Looks like all tests pass; do you want to review it? |
comment:13
Wow, that's excellent that everything finally passes. Yes, I hope to have time to review it soon. |
comment:14
Attachment: trac_9051-everything_flattened.patch.gz I did a benchmark on sage.math, comparing this code to Magma: SAGE with your patch:
Before the patch, the same benchmark is massively slower, so this patch is a very big improvement:
In Magma:
Something surprising is that working in your rational function field is much faster than working with polynomials!
|
comment:15
Before the patch... 79 seconds instead of the new 2.9 seconds:
|
Attachment: trac_9051-referee-1.patch.gz apply this after the "everything flattened" patch directly above. |
comment:17
Reviewer patch looks good to me. My only comment is that it would be nice to have a faster not-equals comparison, but that's not worth holding this up. |
comment:19
I've merged only in 4.5.2.alpha0. Please correct the Author(s) and Reviewer(s) fields, if I'm wrong. |
Merged: sage-4.5.2.alpha0 |
Reviewer: Robert Bradshaw, William Stein |
Author: Robert Bradshaw, David Roe, William Stein |
comment:20
I assume that it's a mistake that the function
was added twice in |
comment:21
Please review #13971 to correct this duplicate method. |
Followup to #7585, which also did many, many other things.
Wrapping flint directly is much faster than the current implementation of
Frac(GF(p)['t'])
CC: @mminzlaff
Component: algebra
Author: Robert Bradshaw, David Roe, William Stein
Reviewer: Robert Bradshaw, William Stein
Merged: sage-4.5.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/9051
The text was updated successfully, but these errors were encountered: