diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 02:43:08 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-18 02:43:08 +0100 |
commit | f644110816a9315a4f8fa4bcbd9fb5c2708ee1ff (patch) | |
tree | 5b65ab533043849d0fb940a16212f96e467acb4b /Python | |
parent | b511aca596d300af45928e9b9dcbcaaa87bc62df (diff) | |
download | cpython-git-f644110816a9315a4f8fa4bcbd9fb5c2708ee1ff.tar.gz |
Issue #13621: Optimize str.replace(char1, char2)
Use findchar() which is more optimized than a dummy loop using
PyUnicode_READ(). PyUnicode_READ() is a complex and slow macro.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions