#21109: Faster meet() for lattice
----------------------------------+-----------------------------
Reporter: jmantysalo | Type: enhancement
Status: new | Priority: minor
Milestone: sage-7.3 | Component: combinatorics
Keywords: latticeposet | Merged in:
Authors: Jori Mäntysalo | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------
This trivial patch will speed up computation of meet matrix in lattices.
Before:
{{{
sage: P = Posets.BooleanLattice(10)
sage: timeit("_ = P._hasse_diagram._meet", repeat=1, number=1)
1 loops, best of 1: 2.24 s per loop
}}}
After:
{{{
sage: P = Posets.BooleanLattice(10)
sage: timeit("_ = P._hasse_diagram._meet", repeat=1, number=1)
1 loops, best of 1: 917 ms per loop
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/21109>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.