Re: garbage collector and slowdown (guillaume weymeskirch)

2008-10-05 Thread guillaume weymeskirch
Thanks ! No more slowdown in python 2.6, both on gentoo and winxp systems. I love python so much so I can live with that until I will upgrade to the 2.6 version. -- http://mail.python.org/mailman/listinfo/python-list

garbage collector and slowdown (guillaume weymeskirch)

2008-10-04 Thread guillaume weymeskirch
Hello everybody, To test the python 2.5 garbage collector, I wrote a trivial script allocating dummy objects of various sizes, then forgetting them in a loop. The garbage collector seems working well, limiting the memory used. But I've noticed a near linear slowdown of the execution : after a

Re: garbage collector and slowdown (guillaume weymeskirch)

2008-10-04 Thread skip
guillaume But I've noticed a near linear slowdown of the execution : guillaume after a few minutes - and several millions of allocated and guillaume freed objects, each iteration take more and more time to guillaume execute. I ran your script on my Mac and let it go for over an

Re: garbage collector and slowdown (guillaume weymeskirch)

2008-10-04 Thread Terry Reedy
guillaume weymeskirch wrote: Hello everybody, To test the python 2.5 garbage collector, I wrote a trivial script allocating dummy objects of various sizes, then forgetting them in a loop. The garbage collector seems working well, limiting the memory used. But I've noticed a near linear

Re: garbage collector and slowdown (guillaume weymeskirch)

2008-10-04 Thread Steven D'Aprano
On Sat, 04 Oct 2008 10:57:25 -0400, Terry Reedy wrote: guillaume weymeskirch wrote: Hello everybody, To test the python 2.5 garbage collector, I wrote a trivial script allocating dummy objects of various sizes, then forgetting them in a loop. The garbage collector seems working well,