#13501: Bugs in C3'salgorithm implementation in sage.misc.c3
-------------------------------------------+--------------------------------
       Reporter:  nthiery                  |         Owner:  nthiery     
           Type:  defect                   |        Status:  needs_review
       Priority:  major                    |     Milestone:  sage-5.4    
      Component:  categories               |    Resolution:              
       Keywords:  method resolution order  |   Work issues:              
Report Upstream:  N/A                      |     Reviewers:  Simon King  
        Authors:  Nicolas M. ThiƩry        |     Merged in:              
   Dependencies:  #12895                   |      Stopgaps:              
-------------------------------------------+--------------------------------

Comment (by SimonKing):

 Replying to [comment:7 nthiery]:
 > > Or perhaps this would be even faster:
 `PySet_Contains(<object>PyList_GET_ITEM(tailsets, j), O) is int(1)`. Let
 me do some tests...
 >
 > That's basically what the second patch does, and it does not seem to do
 much of a change. But feel free to explore!

 Sorry, I didn't look at the second patch. Yes, if that doesn't help, it
 would probably be useless. But I think breaking the loop would make sense.

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