Lisandro Dalcin wrote: > On Tue, Sep 15, 2009 at 7:09 PM, Robert Bradshaw > <[email protected]> wrote: >> This is one thing that cython -a is good for, it lets you easily spot >> cases where unnecessarily type checking, etc. is performed. > > No, Robert. Let's see: mpi4py has 7 K lines of Python code. This > generates 82 K lines (x12) of C code... I really do not have the time > to review all that output.
Well, yes, that's what "-a" is for. You don't have to review "all that output", you just have to look for dark yellow lines in the Cython source at points that you consider performance critical. Only when you find those, you can open the underlying C source and check why there's so much Python stuff going on. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
