Java vs Python Benchmarks: Java is faster

Bryan bryan at eevolved.com
Thu Jan 31 21:18:56 EST 2002


Bryan wrote:


> - Python allocates objects 57 times slower than java

As a side note, Michael Robin I suggested I attempt a "new-style" object 
test using the new __slots__ mechanism.

It does make a difference. New Style classes take 92 seconds to pass
the Object Test, whereas old style takes 61.
-- 
Bryan Mongeau
http://www.eevolved.com/bryan
--
"I think there is a world market for maybe five computers." -- Thomas J. 
Watson




More information about the Python-list mailing list