[issue7462] Implement fastsearch algorithm for rfind/rindex

Florent Xicluna report at bugs.python.org
Mon Dec 21 14:01:47 CET 2009


Florent Xicluna <laxyf at yahoo.fr> added the comment:

Actually I see different macros which do the same thing: I will consider
reusing STRINGLIB_CMP to re-define PyUNICODE_MATCH and PySTRING_MATCH
(or create aliases if they have the same signature).

I can prepare a "all-in-one" patch which fixes all these things.
But don't you think we should do this incrementally, i.e. commit the
current patch before refactoring more code?

I will remove the "#if 1  /* USE_FAST */".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7462>
_______________________________________


More information about the Python-bugs-list mailing list