commit | 7efa3b8242771f5e63ffaab7bd184e1a5c12c429 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Apr 08 00:26:43 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Apr 08 00:26:43 2013 +0200 |
tree | 2d0722f33950bdd49a67066509d0aeab52fc45d3 | |
parent | 4b7b0f06b459aa2bad371f26576a9e0388795553 [diff] |
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.