Jean-Francois Moulin wrote: > Stefan Behnel wrote: >> ... although, after reading your source, I recommend taking a look at the >> generated C source first. It will give you all sorts of ideas what to do >> to remove unnecessary Python object creations and to reduce general >> Python interaction. > > Yeah... for sure... that means I need to learn C though ;0) That is > exactly to avoid this that I started playing with cython! > I focussed on a short segment of the script which I thought might be > slow but the whole thing is around 1000 lines in Python... > I'll give it a look anyway! Thanks for the hint.
In that case, try cython's "-a" option. That will generate an annotated HTML copy of your sources, with dark yellow where things can be improved. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
