-
-
Notifications
You must be signed in to change notification settings - Fork 528
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 #7585
Comments
Attachment: 7585_FpT.patch.gz |
comment:1
First pass, 4-40x faster. |
comment:2
Still has a lot of work (better integration, doctests, testing...) |
Attachment: 7585_FpT.2.patch.gz |
Attachment: 7585_FpT-more.patch.gz apply on top of previous |
comment:4
I've added some doctests. I'll try to split the work on FpT off from the rest of the things I've been doing on residue fields and post a patch tomorrow. |
Attachment: 7585_1_FpT-orig.patch.gz Rebased against 4.3.rc0 |
Attachment: 7585_2_FpT-more.patch.gz Rebased against 4.3.rc0 |
Attachment: 7585_3_FpT-update.patch.gz |
Attachment: 7585_4_sets_with_partial_maps.patch.gz |
Attachment: 7585_5_finite_fields_to_new_coercion.patch.gz |
Attachment: 7585_6_gcd.patch.gz Attachment: 7585_7_ideal.patch.gz |
Attachment: 7585_8_parent_init.patch.gz |
Attachment: 7585_9_frac_and_coerce_updates.patch.gz |
Attachment: 7585_10_residue_field.patch.gz |
Attachment: 7585_11_tate_ff.patch.gz Attachment: 7585_12_fixes.patch.gz |
Attachment: 7585_ALL.patch.gz This combines all of the above into one patch, for easy application. Based against 4.3.rc0 |
comment:5
A bit later than I said, but here are some patches. I'm not sure if this is the right place to put all of them, but they're all related to GF(p)(t)... somehow (if only getting doctests that I broke fixed again) I've subsumed Robert's patches into 7585_1_FpT-orig.patch and 7585_2_FpT-more.patch. The third patch is mostly focused on fraction_field_FpT.pyx. The rest are mostly consequences of the changes I made to residue_field.pyx, but they're pretty wide ranging. 7585_ALL.patch includes everything, but isn't viewable on trac since it's too big. |
comment:6
Robert and David, is this ready for review yet? |
comment:7
I think Robert wanted to factor out some of the stuff I'd written and do some more work on the actual FpT stuff. Robert, what all do you want to happen to this ticket before review? |
comment:8
Yes, that is correct. I've been busy out of town, but should get a chance to take a look at this sometime next week. Nothing stopping you from starting to read the code though :). |
comment:9
I've split this up as follows: #7880 #7881 #7883 #7884 #7885 |
comment:10
I'm wary of the changes in 7585_8_parent_init.patch -- could you explain? |
comment:11
I was a bit wary of them too, and wanted to ask a second opinion. The goal is to make switching to the new coercion system as easy as possible. Defining an |
comment:12
FYI, I looked at this a bit during Sage days, but there were a lot of changes to the fraction field code in the alphas, so some rebasing needs to be done (and I didn't have a stable build to rebase on at the time). |
comment:13
I've split off the arithmatic into #9051. |
comment:14
David, Robert: what's the status of this ticket? Now that #9051 is in, and patches 4-12 have been split off into separate tickets, can we close this ticket as a duplicate? If this is true, please set it to "positive review" so the release manager can close it. |
comment:15
All of the patches here have found other homes. I'm happy to make it duplicate. |
Wrapping flint directly should be much faster than the current implementation of
Frac(GF(p)['t'])
CC: @roed314
Component: algebra
Issue created by migration from https://trac.sagemath.org/ticket/7585
The text was updated successfully, but these errors were encountered: