#9887: slow coercion from integer ring to integer mod ring
-------------------------------+--------------------------------
       Reporter:  dmharvey     |         Owner:  tbd
           Type:  defect       |        Status:  positive_review
       Priority:  major        |     Milestone:  sage-5.11
      Component:  performance  |    Resolution:
       Keywords:  sd51         |     Merged in:
        Authors:               |     Reviewers:
Report Upstream:  N/A          |   Work issues:
         Branch:               |  Dependencies:
       Stopgaps:               |
-------------------------------+--------------------------------
Changes (by AlexGhitza):

 * status:  needs_info => positive_review
 * reviewer:  PatchBot =>
 * dependencies:  #11900 =>
 * work_issues:  needs rebase =>
 * keywords:   => sd51


Comment:

 I second the request to close the ticket.  On sage-5.10:

 {{{
 sage: R = Integers(3^20)
 sage: u = Integer(2)
 sage: %timeit("z = R(u)")
 10000000 loops, best of 3: 24.6 ns per loop
 sage: %timeit("z = ZZ(u)")
 10000000 loops, best of 3: 24.5 ns per loop
 }}}

 In other words, putting u into R takes the same time as putting u into ZZ
 (where it is already).  It shouldn't be possible to do any better.

 I'll tag this as "positive review" to bring it to the release manager's
 attention.

--
Ticket URL: <http://trac.sagemath.org/ticket/9887#comment:13>
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/groups/opt_out.


Reply via email to