[Python-Dev] recursive closures - reference leak
Antoine Pitrou
solipsis at pitrou.net
Wed Dec 9 13:30:35 CET 2009
Kristján Valur Jónsson <kristjan <at> ccpgames.com> writes:
>
> a gc.collect() cycle visits a large amount of objects that it
> won‘t release causing cache thrashing.
>
> There is a reason we disabled ‚gc‘, and it is simply because we
> get lower cpu and smoother execution.
Could you try to enable the gc with Python trunk and report whether it does
fewer and/or shorter gc collections? The gc has been optimized a bit compared to
2.6 and earlier.
Thank you
Antoine.
More information about the Python-Dev
mailing list