[Cython] Speed up cython for enum declarations
David Cournapeau
cournape at gmail.com
Wed Dec 3 09:34:47 CET 2008
On Wed, Dec 3, 2008 at 4:06 PM, Robert Bradshaw
<robertwb at math.washington.edu> 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 ?
Would it be easy to get a notion of 'precompiled' pxd files otherwise
?
>
> 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
More information about the Cython-dev
mailing list