#16057: Fix multiplicity of nodes in Kleber tree
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  sage-combinat
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  combinatorics      |   Resolution:
       Keywords:  rigged             |    Merged in:
  configurations                     |    Reviewers:  Anne Schilling
        Authors:  Travis Scrimshaw   |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  46ea05bf9b70f66becb1f8e8b9660b9bcfeee261
  public/combinat/fix_kleber_tree_multiplicity-16057|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by tscrim):

 It's faster to do it this way:
 {{{
 sage: B = [[1,2]]*50
 sage: %timeit for (r,s) in B: r,s
 100000 loops, best of 3: 6.61 µs per loop
 sage: %timeit for b in B: b[0], b[1]
 10000 loops, best of 3: 22.4 µs per loop
 }}}

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