Message30783
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?
|
|
Date |
User |
Action |
Args |
2007-08-23 14:50:39 | admin | link | issue1613130 messages |
2007-08-23 14:50:39 | admin | create | |
|