4 ms·
What do you mean disappointing? I have consistently been getting the best results with pythran. That said it is strongly focused on numerical code, so your mila
by cycomanic 4y ago
What do you mean disappointing? I have consistently been getting the best results with pythran. That said it is strongly focused on numerical code, so your milage might vary for other code. You also should add compiler optimisation flags to get the best performance.
Regarding Nutika AFAIK its goal is not a speed up and performance gains are pretty modest in most cases.
- mkl 4y agoMaybe I didn't have appropriate compiler flags. I didn't devote much time to it, as it didn't seem promising from my initial attempts and I found it easier to get faster performance with other methods (see reply to sibling comment). This was integer numerical code filling in a 2D array with lots of individual comparisons and backtracking (no whole-array operations). Terrible for plain Python, but Cython and C ate it up.