Yes I stand corrected, with unsigned ints and optimisations turned on the
time for C++ for multiplication drops from 3.13 to 0.39 thats an almost 10
times speed up , with doubles and max optimisation on its 0.9

Yes I am using Pharo 32 bit. I think so, unless vmLatest now downloads
Pharo 64 bit.

So the conclusion is that C++ without the max optimisation on is almost as
fast as Pharo.

Still 10 times diffirence is not bad at all , on the other hand CPython3 on
my iMac needs 118 seconds to finish the multiplication and for some strange
reason the python 2.7 included with macos just hangs there forever.

So Cpython at for me appears around 30-20 times slower... which is kinda
weird too. But then Cpython has no JIT VM.

Reply via email to