#9887: slow coercion from integer ring to integer mod ring
---------------------------+------------------------------------------------
Reporter: dmharvey | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: performance | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by roed):
I'm not sure why there are slight slowdowns for #9885 and #9887. But I
did figure out why #9886 was unexpectedly slow: see #10130.
Here are timings on my Macbook Pro (+ patch includes the patch at #10130):
{{{
-------------------------------
| 4.3.rc0 | 4.6.a2 | + patch |
-------------------------------------
#9882 | 19.9 µs | 15 µs | 3.71 µs |
#9883 | 4.34 ms | 117 µs | 20.2 µs |
#9884 | 3.79 ms | 314 µs | 30.7 µs |
#9885 | 1.22 µs | 850 ns | 938 ns |
#9886 | 9.99 µs | 33.4 µs | 264 ns |
#9887 | ? µs | 787 ns | 814 ns |
-------------------------------------
}}}
I got a range of values for #9885 in the middle column, from 835ns to
1.07µs.
I wanted to check 9.99µs in the first column in a different branch, so
rebuilt only to discover that that copy of sage was built when I had an
earlier version of OS X and was thus running 32 bit...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9887#comment:4>
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.