sturlamolden wrote:
On 9 Sep, 22:28, Zac Burns <zac...@gmail.com> wrote:

Theories:
   Python is resizing the large dictionary
   Python is garbage collecting

Python uses reference counting, not a generational GC like Java.

The CPython implementation, that is. Jython, built on top of Java, uses Java's GC. Ditto for IronPython implementation. PyPY may allow some choice.

 A
Python object is  destroyed when the refcount drops to 0. The GC only
collects cyclic references. If you create none, there are no GC delays
(you can in fact safely turn the GC off). Python does not share Java's
nasty habit of having long GC delays.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to