#18591: More efficient components() for BasisExchangeMatroid
-------------------------------------+-------------------------------------
       Reporter:  Rudi               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  matroid theory     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Rudi Pendavingh    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/Rudi/more_efficient_components___for_basisexchangematroid|  
9767c25c5c5ec12d4d600a50966ee3494a2352e7
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by Rudi):

 With the new routine:
 {{{
 sage: A =MatrixSpace(GF(2), 500, 1000).random_element()
 sage: M = Matroid(A)
 sage: timeit("M.components()")
 625 loops, best of 3: 244 µs per loop
 }}}
 Forcing the use of the old routine:
 {{{
 sage: timeit("sage.matroids.matroid.Matroid.components(M)")
 5 loops, best of 3: 52.2 ms per loop
 }}}

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