-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationpillar-performanceThe issue is related to performance, one of our core engineering pillars.The issue is related to performance, one of our core engineering pillars.
Description
To work with Rust's borrow checker, we often have to make clones of URLs or other strings in order to capture in an Fn or FnMut e.g., async move { }. See #867 (review) for one such place and discussion.
We could wrap it in an Arc but that also might be overkill. What other options might we have to avoid cloning potentially large strings?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationpillar-performanceThe issue is related to performance, one of our core engineering pillars.The issue is related to performance, one of our core engineering pillars.
Type
Projects
Status
Untriaged