Skip to content

Optimise pathlib.Path.relative_to() #112405

Closed

Description

@AlexWaygood

Feature or enhancement

Proposal:

pathlib.Path.relative_to() can be significantly optimised by making use of itertools.chain

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    type-feature
    performance
    3.13
    on Nov 25, 2023
  2. self-assigned this
    on Nov 25, 2023
  3. added a commit that references this issue on Nov 25, 2023
  4. added a commit that references this issue on Nov 26, 2023
  5. added a commit that references this issue on Feb 11, 2024
  6. added a commit that references this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13performancetopic-pathlibtype-feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions