On Dec 3, 2008, at 12:34 AM, David Cournapeau wrote: > On Wed, Dec 3, 2008 at 4:06 PM, Robert Bradshaw > <[EMAIL PROTECTED]> wrote: > >> No, this is a big issue for me with Sage as well (not just >> enumerations, but long lists of declarations in general). I've got >> some code that speeds things up by a factor of two or so, but haven't >> checked it in yet (it was mixed in with a bunch of failed speedups, >> and I didn't have time to clean it up at the time). > > Ok, that would already be helpful. May I ask why long list of > declarations are slow in general ? Parsing them should fast, no ?
Actually, the parsing takes up a significant amount of the compile time. > Would it be easy to get a notion of 'precompiled' pxd files otherwise 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. > >> >> Unfortunately the devel branch is even less stable than usual, as >> temporary variable handling is undergoing a major shift, but I'll try >> to check it in and you can see if that helps. > > Cool, thanks. > > David > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
