On 28/06/2021 1:51 pm, David Crayford wrote:
That not particularily fast either. How can Python be faster than C?
danielspaangberg_1of2;2756;5.000862;1;algorithm=base,faithful=yes,bits=1
How did you run the Python version? From the comments it looks like
running it using PyPy improves the speed about 10x (JIT compiled I
think). People have also created Python versions using numeric libraries
which are much faster than the original. I'm not sure what optimizations
have been included.
The original video was C++ vs C# vs Python:
https://www.youtube.com/watch?v=D3h62rgewZM
Python was slower as expected.
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN