Skip to content

Little fixes for a major speedup of join/meet matrices for FiniteLatticePoset #12476

@hivert

Description

@hivert

Before

sage: %time posets.BooleanLattice(8)
CPU times: user 10.42 s, sys: 0.01 s, total: 10.43 s
Wall time: 10.51 s
Finite lattice containing 256 elements

After

sage: %time posets.BooleanLattice(8)
CPU times: user 0.75 s, sys: 0.01 s, total: 0.76 s
Wall time: 0.84 s
Finite lattice containing 256 elements

Apply: attachment: trac_12476-lattice_join_matrix_speedup-fh.2.patch

Depends on #10998

Component: combinatorics

Keywords: poset, matrix, Cernay2012

Author: Florent Hivert, Nathann Cohen

Reviewer: Florent Hivert, Nicolas M. Thiéry

Merged: sage-5.0.beta6

Issue created by migration from https://trac.sagemath.org/ticket/12476

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions