Message186248
Here is an updated patch. Some comments added (I will be grateful for help in the improvement of these comments), an implementation moved to stringlib (a new file Objects/stringlib/replace.h added).
unicode_2.patch optimizes only too special case and I consider this is not worth the effort. str_replace_1char*.patch cover a wider area and designed to be faster than 3.2 and 3.3 in most cases and not to be significant slower in corner cases. |
|
Date |
User |
Action |
Args |
2013-04-07 21:36:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, terry.reedy, jcea, pitrou, vstinner, thomaslee, benjamin.peterson, ezio.melotti, BreamoreBoy, kushal.das |
2013-04-07 21:36:05 | serhiy.storchaka | set | messageid: <1365370565.74.0.518737800206.issue16061@psf.upfronthosting.co.za> |
2013-04-07 21:36:05 | serhiy.storchaka | link | issue16061 messages |
2013-04-07 21:36:05 | serhiy.storchaka | create | |
|