It should be possible to speed up `glob.glob()` using a few strategies developed in pathlib. <!-- gh-linked-prs --> ### Linked PRs * gh-116392 * gh-117305 * gh-117737 * gh-117738 * gh-118562 * gh-118678 * gh-120011 * gh-130710 * gh-130743 * gh-137474 <!-- /gh-linked-prs -->