<div id="comment:0"></div> 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](https://github.com/sagemath/sage-prod/files/10654804/trac_12476-lattice_join_matrix_speedup-fh.2.patch.gz) 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_