This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients
Date 2006-12-12.11:35:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Ok, I did a patch which partially adds the optimization (the patch is at home, I can't post it right now). I have a few questions though:
 - there is a USE_FAST flag which can bring some speedups when a multicharacter separator is used; however, it is not enabled by default, is there a reason for this?
 - where and by whom is maintained stringbench.py, so that I can propose additional tests for it (namely, tests for unmatched split())?
 - split() implementation is duplicated between str and unicode (the unicode versions having less optimizations), would it be useful to "stringlib'ify" split()?
 - rsplit() does quite similar things as split(), has anyone tried to factor similar parts? do you see any caveats doing so?
History
Date User Action Args
2007-08-23 14:50:39adminlinkissue1613130 messages
2007-08-23 14:50:39admincreate