Rory Mcguire:
> Takes 5m26.776s in Python.
> Takes 0m1.008s in Java.

(I suggest you to round away milliseconds, they are never significant in such 
benchmarks.)
Python 2.7 uses its GC a bit better, so it can be a bit faster.
Your Java code has run four times slower than my slow PC, that's a lot. In Java 
have you used the -server switch?

Bye,
bearophile

Reply via email to