]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-122288: Improve performances of `fnmatch.translate` (#122289)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Wed, 27 Nov 2024 16:42:45 +0000 (17:42 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Nov 2024 16:42:45 +0000 (16:42 +0000)
commit78cb377c622a98b1bf58df40c828e886575a6927
treed8794838cdc9e6aa364e86169ffde0b131726cfd
parent14a05a8f433197c40293028f01797da444fb8409
gh-122288: Improve performances of `fnmatch.translate` (#122289)

Improve performance of this function by a factor of 1.7x.

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Lib/fnmatch.py
Lib/glob.py
Lib/test/test_fnmatch.py
Misc/NEWS.d/next/Library/2024-07-25-18-06-51.gh-issue-122288.-_xxOR.rst [new file with mode: 0644]