niklas-heer / speed-comparison

A repo which compares the speed of different programming languages.
https://niklas-heer.github.io/speed-comparison
MIT License
508 stars 79 forks source link

simplify python implementation #64

Closed karlwessel closed 2 years ago

karlwessel commented 2 years ago

This is just an port of the Julia simplification from #57 to Python.

I think it also improves the speed of the implementation a bit.

It is also closer to what you would normally do in Python if numpy is available.

niklas-heer commented 2 years ago

That is great, thank you for your contribution @karlwessel 👍