3 ms·
It's called Cython. I had a Python implementation of a sensor fusion algorithm as well as a C version of the same. Python was a staggering 135 times slower. I u
by turbinerneiter 10y ago
It's called Cython. I had a Python implementation of a sensor fusion algorithm as well as a C version of the same. Python was a staggering 135 times slower.
I used Cython on it, typed a handful of variables and the result ran in the same time as the C version.
The speed up always depends on what you are doing, my example was chosen to yield the most extreme differences.