]> granicus.if.org Git - python/commit
Optimize make_bloom_mask(), used by str.strip(), str.lstrip() and str.rstrip()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 9 Apr 2013 19:53:54 +0000 (21:53 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 9 Apr 2013 19:53:54 +0000 (21:53 +0200)
commita85af502a4e11d910701f5b7fe16b44c400bf57b
treea5ea314214494f0855f4666c83131f8150a7879d
parent69ed0f4c86e7004aa9867f3f104b76e858f26990
Optimize make_bloom_mask(), used by str.strip(), str.lstrip() and str.rstrip()

Write specialized functions per Unicode kind to avoid the expensive
PyUnicode_READ() macro.
Objects/unicodeobject.c