diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-11-01 17:48:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 17:48:58 (GMT) |
commit | 68a51e0178e86be8b697683fd108aa795f235507 (patch) | |
tree | 5da4b56ce369b38bc7e8398c74a050dd36da105b /Python/stdlib_module_names.h | |
parent | 464a7a91d0c75241a2f1913e78dbfbc29d4193b4 (diff) | |
download | cpython-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/stdlib_module_names.h')
0 files changed, 0 insertions, 0 deletions