GH-103548: Improve performance of `pathlib.Path.[is_]absolute()` (GH-103549)
Improve performance of `pathlib.Path.absolute()` and `cwd()` by joining paths only when necessary. Also improve performance of `PurePath.is_absolute()` on Posix by skipping path parsing and normalization.
B
Barney Gale committed
de7f694e3c92797fe65f04cd2c6941ed0446bb24
Parent: 376137f
Committed by GitHub <noreply@github.com>
on 5/6/2023, 6:03:07 PM