Changes between Initial Version and Version 8 of Ticket #28982


Ignore:
Timestamp:
02/14/20 12:14:20 (6 months ago)
Author:
gh-kliem
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28982

    • Property Status changed from new to needs_review
    • Property Commit changed from to f44afa26835ca7a4991864766c1f1c01c9e6f399
    • Property Branch changed from to public/28982-reb2
  • Ticket #28982 – Description

    initial v8  
    66
    77This is much slower, but removes a memory leak. As `hasse_diagram` is hardly used with #28646, this seems to be reasonable.
     8
     9Caching the face lattice does create a memory leak:
     10
     11{{{
     12sage: import gc
     13sage: P = polytopes.cube()
     14sage: P.my_face_lattice = P.face_lattice()
     15sage: n = get_memory_usage()
     16sage: P = polytopes.cube()
     17sage: P.my_face_lattice = P.face_lattice()
     18sage: _ = gc.collect()
     19sage: n == get_memory_usage()
     20False
     21}}}