#16878: faster is_prime
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: number theory | Resolution:
Keywords: | Merged in:
Authors: Vincent | Reviewers: Jeroen Demeyer,
Delecroix, Jeroen Demeyer | Vincent Delecroix
Report Upstream: N/A | Work issues:
Branch: | Commit:
bfd69d3b188a8ec36ab373b4e958b54c74b64d2b| Stopgaps:
Dependencies: #15767 |
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: closed => new
* commit: bfd69d3b188a8ec36ab373b4e958b54c74b64d2b =>
* resolution: fixed =>
Comment:
This takes about a second before this ticket and really long after this
ticket:
{{{
sage: with proof.WithProof('arithmetic', False):
....: sage.rings.arith.is_prime_power((10^1000 + 453)^2)
}}}
In fact, it get so slow that the ARM buildbot times out in
{{{
sage -t --long src/sage/rings/finite_rings/constructor.py
Timed out
**********************************************************************
...
sage: k = FiniteField(10^1000 + 453, proof=False) ## line 230 ##
sage: k = FiniteField((10^1000 + 453)^2, 'a', proof=False) # long
time -- about 5 seconds ## line 231 ##
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16878#comment:33>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.