diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-04-07 22:26:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-04-07 22:26:43 (GMT) |
commit | 7efa3b8242771f5e63ffaab7bd184e1a5c12c429 (patch) | |
tree | 2d0722f33950bdd49a67066509d0aeab52fc45d3 /Lib | |
parent | 4b7b0f06b459aa2bad371f26576a9e0388795553 (diff) | |
download | cpython-7efa3b8242771f5e63ffaab7bd184e1a5c12c429.zip cpython-7efa3b8242771f5e63ffaab7bd184e1a5c12c429.tar.gz cpython-7efa3b8242771f5e63ffaab7bd184e1a5c12c429.tar.bz2 |
Close #13126: "Simplify" FASTSEARCH() code to help the compiler to emit more
efficient machine code. Patch written by Antoine Pitrou.
Without this change, str.find() was 10% slower than str.rfind() in the worst
case.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions