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

rust/dumpfile: Minor optimization for unescape_to_path_canonical #321

Merged
merged 1 commit into from
Aug 21, 2024

Commits on Aug 20, 2024

  1. rust/dumpfile: Minor optimization for unescape_to_path_canonical

    Trivial optimization: I just realized that we can detect the case
    when the input is already canonical and return a borrowed version.
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    752fc1a View commit details
    Browse the repository at this point in the history