Not from a real world application, no. If you run the program below with
And now for the program below...
Regards,
Martin
import gc,sys,time
gc.set_debug(gc.DEBUG_STATS)
t=time.time()
l = []
l.append(l)
for i in range(100000):
l.append([])
del l
print >>sys.stderr,"Done looping: final generation 2",time.time()-t
gc.collect()
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com