[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

Florent Xicluna report at bugs.python.org
Sun Jan 3 18:09:47 CET 2010


New submission from Florent Xicluna <laxyf at yahoo.fr>:

Content of the patch:
 - removed code duplication between bytearray/string/unicode
 - new header "stringlib/split.h" with common methods:
    stringlib_split/_rsplit/_splitlines
 - added "maxcount" argument to "stringlib_count"
 - better performance for split/replace unicode methods

Benchmark coming soon...

----------
components: Interpreter Core
files: stringlib_split_replace.diff
keywords: patch
messages: 97168
nosy: flox
severity: normal
status: open
title: [patch] improve unicode methods: split() rsplit() and replace()
type: performance
versions: Python 2.7
Added file: http://bugs.python.org/file15726/stringlib_split_replace.diff

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


More information about the Python-bugs-list mailing list