On Mon, Sep 19, 2011 at 9:05 AM, john_perry_usm <john.pe...@usm.edu> wrote: > Hi > > One of the nice aspects of cython is that you can "cython -a" a file > and see what could use optimization. > > If I import a .pyx file into Sage, Sage compiles it into cython. Is > there a way to make it show the same thing?
Not automatically. > I tried compiling a Sage file with Cython, but (as one might expect) > it couldn't find a lot of things. Perhaps I need to tell it where to > find things to include? Try doing sage -cython /path/to/file.pyx. If your .pyx file is in the sage library, this sets up all the extra paths for you. - Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org