#8309: speedup prime range
-------------------------------+--------------------------------------------
Reporter: robertwb | Owner: was
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.3.4
Component: number theory | Keywords:
Author: Robert Bradshaw | Upstream: N/A
Reviewer: Paul Zimmermann | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by robertwb):
Thanks.
The reason that py_ints isn't on by default is because then one wouldn't
be able to do something like
{{{
for p in prime_range(100):
if p.divides(N):
...
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8309#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.