| commit | c80d6d20d57090016372ba6be7325b1fc0649413 | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <vstinner@wyplay.com> | Wed Oct 05 14:13:28 2011 +0200 |
| committer | Victor Stinner <vstinner@wyplay.com> | Wed Oct 05 14:13:28 2011 +0200 |
| tree | d28fdb1b07492ebabfc8133405d3cee32e7431f5 | |
| parent | ae86485517cab27d6cef96d036e870888660a144 [diff] |
Speedup str[a:b:step] for step != 1 Try to stop the scanner of the maximum character before the end using a limit depending on the kind (e.g. 256 for PyUnicode_2BYTE_KIND).