Interesting speed benchmark
Andy Salnikov
salnikov at inp.nsk.su
Wed Jun 6 05:28:29 EDT 2001
"Aahz Maruch" <aahz at panix.com> wrote in message
news:9fkh50$6e1$1 at panix6.panix.com...
> My guess is that this represents a pathological case for Python's memory
> management system. Each time through the outer loop after the first,
> Python has to walk the chain of 10K objects, deallocating them
> one-by-one
I'd better say that it represents a pathological case for Java memory
management, which does not bother to destroy unreachable objects and instead
eats up memory like a pig:) Anyone compared memory usage in these two tests?
Andy.
More information about the Python-list
mailing list