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 creation time for p-adic elements #9814
Comments
comment:1
Attachment: trac-9814.patch.gz See the thread http://groups.google.com/group/sage-devel/browse_thread/thread/612ea8f2f9d06e37?pli=1 |
comment:2
seems to work as advertised, but I get lots of doctest failures with -testall, typical example is like this:
|
Changed author from roed to David Roe |
Replaces first patch. |
comment:4
Attachment: trac_9814-2.patch.gz Well, that was more work than I expected, but it also fixes some problems with non-uniqueness of p-adic parents. |
comment:5
Excellent. You've restored my faith in Sage :-) |
comment:6
Good. The series of patches in 7883 -> 8333 -> 8334 plus a bit of other additional work will fix most of your object creation problems with IntegerMods as well. |
Reviewer: David Harvey |
comment:8
Could someone prepend the ticket number to the commit string's first line and restore the positive review? The first line should also be < 80 characters long, so that |
Attachment: trac_9814-3.patch.gz Commit message fixed. Apply only this patch. |
comment:9
Done. |
Merged: sage-4.6.alpha2 |
I've implemented coercion morphisms from ZZ and QQ to Zp and Qp. This drops item creation time from about 20 microseconds to about 1 microsecond on my machine.
Component: padics
Author: David Roe
Reviewer: David Harvey
Merged: sage-4.6.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/9814
The text was updated successfully, but these errors were encountered: