You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve performance of pathlib.Path.absolute() #100562
The current implementation of pathlib.Path.absolute() calls self.cwd() rather than os.getcwd(), and so constructs twoPath objects rather than one. As path objects are slow to construct, this has a performance impact.
Activity
pythongh-100562: improve performance of `pathlib.Path.absolute()`
Merge branch 'main' into pythongh-100562-path-absolute-perf
gh-100562: improve performance of `pathlib.Path.absolute()` (GH-100563)