#7918: log(float(_)) is really slow
---------------------------+------------------------------------------------
   Reporter:  bober        |       Owner:  tbd
       Type:  defect       |      Status:  new
   Priority:  major        |   Milestone:     
  Component:  performance  |    Keywords:  log
Work_issues:               |      Author:     
   Upstream:  N/A          |    Reviewer:     
     Merged:               |  
---------------------------+------------------------------------------------
 Somewhere between 4.1 and 4.3, log(x) got really slow when x is a float.

 Example:


 {{{
 sage: version()
 'Sage Version 4.3, Release Date: 2009-12-24'
 sage: x = float(5)
 sage: x
 5.0
 sage: timeit('log(x)')
 625 loops, best of 3: 362 µs per loop
 }}}

 {{{
 sage: version()
 'Sage Version 4.1, Release Date: 2009-07-09'
 sage: x = float(5)
 sage: timeit('log(x)')
 625 loops, best of 3: 7.26 µs per loop
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7918>
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.


Reply via email to