Florent Xicluna <la...@yahoo.fr> added the comment: Updated patch with optimization for: * rfind * rindex * rsplit * rpartition
And an optimization was implemented in r46398 but never used because "#define USE_FAST" was removed 2 hours before: r46366. ==> I changed this to activate optimization on "S.split" too. I propose to commit these changes before looking for further improvements. (I plan to refactor some functions and macro to Objects/stringlib) ---------- stage: needs patch -> patch review Added file: http://bugs.python.org/file15644/fastsearch_rfind_v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7462> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com