diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-10-23 22:57:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 22:57:30 (GMT) |
commit | 75a6fadf369315b27e12f670e6295cf2c2cf7d7e (patch) | |
tree | cbf2004f870017f90874dc721e928da9412bab50 /Objects/moduleobject.c | |
parent | 176b6c57be70fb70fd0563813a87822545eb4bbf (diff) | |
download | cpython-75a6fadf369315b27e12f670e6295cf2c2cf7d7e.zip cpython-75a6fadf369315b27e12f670e6295cf2c2cf7d7e.tar.gz cpython-75a6fadf369315b27e12f670e6295cf2c2cf7d7e.tar.bz2 |
gh-91524: Speed up the regular expression substitution (#91525)
Functions re.sub() and re.subn() and corresponding re.Pattern methods
are now 2-3 times faster for replacement strings containing group references.
Closes #91524
Primarily authored by serhiy-storchaka Serhiy Storchaka
Minor-cleanups-by: Gregory P. Smith [Google] <greg@krypto.org>
Diffstat (limited to 'Objects/moduleobject.c')
0 files changed, 0 insertions, 0 deletions