8000 gh-100562: improve performance of `pathlib.Path.absolute()` by barneygale · Pull Request #100563 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-100562: improve performance of pathlib.Path.absolute() #100563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Library/2022-12-28-00-28-43.gh-issue-100562.H…
…ic0Z0.rst

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
barneygale and AlexWaygood authored Jan 5, 2023
commit 43e5d21a292699bfe699e0dd1f9092c7f768153d
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Improve performance of :meth:`pathlib.Path.absolute`.
Improve performance of :meth:`pathlib.Path.absolute` by nearly 2x. This comes
at the cost of a performance regression in :meth:`pathlib.Path.cwd`, which is
generally used less frequently in user code.
0