id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
28982,Use CombinatorialPolyhedron to obtain faces lattice of polyhedra,gh-kliem,,"We use `CombinatorialPolyhedron` to compute the face lattice of a polyhedron.
Along the way we implement `hasse_diagram` for `CombinatorialPolyhedron` and `Polyhedron_base`.
Instead of caching `face_lattice`, we cache `hasse_diagram` now.
This is much slower, but removes a memory leak. As `hasse_diagram` is hardly used with #28646, this seems to be reasonable.
Caching the face lattice does create a memory leak:
{{{
sage: import gc
sage: P = polytopes.cube()
sage: P.my_face_lattice = P.face_lattice()
sage: n = get_memory_usage()
sage: P = polytopes.cube()
sage: P.my_face_lattice = P.face_lattice()
sage: _ = gc.collect()
sage: n == get_memory_usage()
False
}}}",enhancement,needs_review,major,sage-9.2,geometry,,"polyhedron, face lattice",jipilab gh-LaisRast,,Jonathan Kliem,Jean-Philippe Labbé,N/A,,public/28982-reb7,22974744b2b580cf94737ca9d04734d89687b73e,#29583,