#13359: [Performance] Expression::__nonzero__ shouldn't call variables() unless 
it
is necessary
-------------------------------+--------------------------------------------
       Reporter:  tkluck       |         Owner:  tbd        
           Type:  enhancement  |        Status:  needs_work 
       Priority:  major        |     Milestone:  sage-5.3   
      Component:  performance  |    Resolution:             
       Keywords:               |   Work issues:             
Report Upstream:  N/A          |     Reviewers:  Mike Hansen
        Authors:  Timo Kluck   |     Merged in:             
   Dependencies:               |      Stopgaps:             
-------------------------------+--------------------------------------------

Comment (by tkluck):

 Good suggestion, here's a patch.

 This is a minor point in the sense that it doesn't affect the algorithm's
 complexity, but you're right that it's probably cheaper.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13359#comment:3>
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