#18706: Improve Efficiency of Matroid initialization
-------------------------------------+-------------------------------------
Reporter: Rudi | Owner: Rudi
Type: task | Status: new
Priority: major | Milestone: sage-6.8
Component: matroid theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/Rudi/improve_efficiency_of_matroid_initialization|
280018d529173b9ad2e78d8728dd1ec6b8705f75
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by Rudi):
* commit: => 280018d529173b9ad2e78d8728dd1ec6b8705f75
Comment:
Before:
{{{
sage: M = matroids.named_matroids.ExtendedBinaryGolayCode()
sage: timeit("M.is_graphic()")
5 loops, best of 3: 39.5 ms per loop
}}}
After:
{{{
sage: M = matroids.named_matroids.ExtendedBinaryGolayCode()
sage: timeit("M.is_graphic()")
625 loops, best of 3: 1.55 ms per loop
}}}
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=280018d529173b9ad2e78d8728dd1ec6b8705f75
280018d]||{{{Tweaked initializer of BinaryMatroid, improved call by
BinaryMatrix.is_graphic()}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/18706#comment:2>
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.