Skip to content
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

GH-119518: Stop interning strings in pathlib #123356

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Commits on Aug 26, 2024

  1. pythonGH-119518: Stop interning strings in pathlib

    Remove `sys.intern(str(x))` calls when normalizing a path in pathlib. This
    speeds up `str(Path('foo/bar'))` by about 10%.
    barneygale committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    3d85ae2 View commit details
    Browse the repository at this point in the history