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

perf(commands): swap shell output as_ref + clone with take #10983

Closed
wants to merge 1 commit into from

Commits on Jun 18, 2024

  1. perf(commands): swap as_ref + clone with take

    Current `as_ref` + `clone` combo is just to deal with lifetime issues of
    the loop. Instead, `take` can take ownership directly, removing
    unnecessary operations. This can improve performance for particularly
    large shell output
    RoloEdits committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    104835f View commit details
    Browse the repository at this point in the history