David Cournapeau wrote: > On Wed, Dec 3, 2008 at 5:58 PM, Robert Bradshaw wrote: >> Actually, the parsing takes up a significant amount of the compile time. > > Is it because the parser cannot assume there is only declarations, or > is parsing declarations is inherently slow ?
Parsing is slow. That's why we switched to C-compiling the parser. >> Yes and no. This is something I've tried to do before, and still want >> to do. One difficulty is handling dependancies between pxd files, for >> example if a typedef or cdef class changes in one, then everything >> that cimports and uses it changes. > > I don't understand: how is this a cython problem ? This should be > handled by your build tool, no ? Only Cython can know the inter-dependencies of .pxd, .pxi and .pyx files, which are based on cimports and includes in the source. Look out for .dep files in your source directory after the generation. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
