-
-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Milestone
Description
Before:
sage: timeit("LatticePolytope(lattice_polytope.cross_polytope(3).vertices()).facet_normals()")
5 loops, best of 3: 43.2 ms per loop
After:
sage: timeit("LatticePolytope(lattice_polytope.cross_polytope(3).vertices()).facet_normals()")
125 loops, best of 3: 6.81 ms per loop
PPL will of course work for non-full-dimensional polytopes as well, however the treatment of this case is spread around several places and its removal will be treated separately. Once this is done the speed up will be even more significant.
Next in the chain of lattice polytope improvements is #22391
Depends on #22309
Component: geometry
Keywords: days85
Author: Andrey Novoseltsev
Branch/Commit: d244793
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/22310