[Cython] [cython] Initial startswith / endswith optimization (#35)

Stefan Behnel stefan_ml at behnel.de
Thu May 26 10:12:03 CEST 2011


Robert Bradshaw, 26.05.2011 09:40:
> the pattern of swapping out builtin methods (and perhaps
> functions) with more optimized C versions is something that perhaps it
> would be good to be able to do more generally, rather than hard coding
> the list into Optimize.py.

Right. All that would really be needed is a way to define default values 
for arguments of builtin methods. Then most of the method optimisations 
could be moved into Builtin.py.

Stefan


More information about the cython-devel mailing list