[Cython] Speed up cython for enum declarations

David Cournapeau cournape at gmail.com
Fri Dec 5 09:58:40 CET 2008


On Fri, Dec 5, 2008 at 5:20 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
>
> Robert Kern wrote:
>> It looks like a fair chunk of time is getting spent by the getattr() on line 26
>> of Visitor.py:BasicVisitor.visit() because of missing entries in the
>> dispatch_table.
>
> BTW, I just noticed that I forgot to push my fix for that code section to
> the release branch. There's a bug in there that renders the dispatch_table
> mostly useless.
>
> If you try with cython-devel, it should compile a *lot* faster.

Which revision are you using  ? Using the last cython-devel crashes on
my files, unfortunately.

David


More information about the Cython-dev mailing list