Skip to content

src/browser.rs:106-109 - PathBuf clone in sort_by_key #28

@ducks

Description

@ducks

Found by lok hunt:

src/browser.rs:106-109 - PathBuf clone in sort_by_key

  • path.clone() allocates heap memory for each sort comparison
  • Fix: Use sort_by() with borrowed references

Backend: claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions