#19040: defuse bool(x!=0) performance bomb
---------------------------+----------------------------
   Reporter:  rws          |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.9
  Component:  symbolics    |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+----------------------------
 Symbolics may be part of type-neutral computations, e.g. matrices, rings.
 Developers do not expect proof machinery to crank up when writing `if
 x!=0`, so `bool(x1!=x2)` should mean `not (x1-x2).is_trivial_zero()` for
 symbolic `x`. Instead of `Expression.__nonzero__` this ticket should
 provide a different interface for cases requiring simplification/proof.

--
Ticket URL: <http://trac.sagemath.org/ticket/19040>
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/d/optout.

Reply via email to