emplace, scope, enforce [Was: Re: Manual...]

bearophile bearophileHUGS at lycos.com
Wed Jul 21 03:11:24 PDT 2010


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


More information about the Digitalmars-d mailing list