On Dec 3, 2008, at 3:25 PM, Greg Ewing wrote: > David Cournapeau wrote: > >> I understand parsing in slow in general; I was wondering why parsing >> pxd is. > > Are you sure that it is? Do you have timings indicating that > parsing 1000 lines of enum declarations is significantly slower > than parsing 1000 lines of any other kind of Cython code?
I would guess that they're about the same speed. Perhaps a 1000 line enum is a bit faster, but it seems like it should be a lot faster (which it probably isn't). Take this hunch with a grain of salt, I haven't timed anything here. >> Now, "it >> is slow because nobody bothered speeding it up" is a totally vaild >> answer :) > > Another valid answer is might be "there is no particular > bottleneck causing this problem that can be optimized". And I think the truth is a bit of both. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
