#6199: Integer * int is slow
-------------------------------+--------------------------------------------
Reporter: fredrik.johansson | Owner: somebody
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.2
Component: basic arithmetic | Resolution:
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
-------------------------------+--------------------------------------------
Comment(by craigcitro):
Oh, and so I don't forget -- we also seemed to get a consensus that people
wanted `Integer * int` and `int * Integer` to be fast. Fredrik, this
probably means you don't have to worry too much about rewriting any code.
`:)` There will probably be a '''tiny''' speed hit on `int * Integer` over
`Integer * int`, because it has to fail on the `int`'s `__mul__` code
before it will switch the args and try again.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6199#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 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.