summaryrefslogtreecommitdiffstats
path: root/Python/legacy_tracing.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-11-01 17:48:58 (GMT)
committerGitHub <noreply@github.com>2024-11-01 17:48:58 (GMT)
commit68a51e0178e86be8b697683fd108aa795f235507 (patch)
tree5da4b56ce369b38bc7e8398c74a050dd36da105b /Python/legacy_tracing.c
parent464a7a91d0c75241a2f1913e78dbfbc29d4193b4 (diff)
downloadcpython-68a51e0178e86be8b697683fd108aa795f235507.zip
cpython-68a51e0178e86be8b697683fd108aa795f235507.tar.gz
cpython-68a51e0178e86be8b697683fd108aa795f235507.tar.bz2
GH-125413: pathlib ABCs: use `scandir()` to speed up `glob()` (#126261)
Use the new `PathBase.scandir()` method in `PathBase.glob()`, which greatly reduces the number of `PathBase.stat()` calls needed when globbing. There are no user-facing changes, because the pathlib ABCs are still private and `Path.glob()` doesn't use the implementation in its superclass.
Diffstat (limited to 'Python/legacy_tracing.c')
0 files changed, 0 insertions, 0 deletions