2 ms·
Have you checked out Cython[1]? It's used quite often in Numpy. Basically, you add some type annotations like, int, double, etc. for some speed-up. There is a q
by shared4you 14y ago
Have you checked out Cython[1]? It's used quite often in Numpy. Basically, you add some type annotations like, int, double, etc. for some speed-up. There is a quick tutorial as well [2].
[1]: http://cython.org/ http://cython.org/
[2]: http://wiki.cython.org/tutorials/numpy http://wiki.cython.org/tutorials/numpy
- nnq 14y agoI know, it great for the speed-up. But for just making things more manageable it's not worth the added complication of build/compile. I know, my problem is actually solved by "properly written tests" :) ...for I still long for some optional drop-in static typing.