Interesting speed benchmark
salnikov at inp.nsk.su
Wed Jun 6 11:28:29 CEST 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
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?
More information about the Python-list