I still think that there is something odd going on. I do not understand
the following:
def check(n):
while True:
for P in Posets(n):
Q = P.with_bounds()
x = Q.moebius_function(Q.bottom(), Q.top())
print get_memory_usage()
#
On Saturday, November 24, 2018 at 11:47:54 PM UTC-8, Martin R wrote:
>
> Yes, but should't that be released once the poset is thrown away?
>
> The following code:
import gc
from collections import Counter
gc.collect()
pre={id(c) for c in gc.get_objects()}
for P in posets(7):
Q = P.with_bounds