On Sep 14, 2009, at 11:19 PM, Stefan Behnel wrote: > BTW, for the specific case of list/tuple, there's a PyList_AsTuple() > function and the PySequence_List/Tuple() functions that might > become useful > - although I'm certainly not saying we should do the required copying > automatically behind the back of the user.
In the little bit of testing I've done with the PySequence... functions, I've been disappointed with the speed. They are just a tuple vs. list type check, then dispatch to the actual function. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
