commit | ec014a101a7f6243b95dfc08acfe1542b9fa5d39 | [log] [tgz] |
---|---|---|
author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | Wed Sep 12 03:47:59 2018 +0500 |
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Sep 11 15:47:59 2018 -0700 |
tree | 62668429576eae74dd178a7bd0a718482500be28 | |
parent | d13e59c1b512069d90efe7ee9b613d3913e79c56 [diff] |
bpo-34636: Use fast path for more chars in SRE category macros. (GH-9170) When handling \s, \d, or \w (and their inverse) escapes in bytes regexes this a small but measurable performance improvement. <!-- issue-number: [bpo-34636](https://www.bugs.python.org/issue34636) --> https://bugs.python.org/issue34636 <!-- /issue-number -->