#18241: Great speedup in polytopes construction with generic backend
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.7
      Component:  geometry           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18241                 |  99c670831a4064246d2cdb2aec32a3e51fd4fd7c
   Dependencies:  #18215             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:5 ncohen]:
 > Looks like your mutable object is also hashable
 >  {{{
 > sage: DD.__hash__()
 > 1042963791458606606
 > sage: DD.add_inequality(vector([1,0,0]))
 > sage: DD.__hash__()
 > -1000165618804906370
 > }}}

 F****** Sage objects!
 {{{
 cdef class SageObject:
 ...
     def __hash__(self):
         return hash(self.__repr__())
 }}}

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