Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leak
remote
instead of wrapping it in an Arc
The `Arc<string>` lived as long as the server in all cases, but this way we don't have to pay any cache invalidation/coherence costs associated with constantly incrementing and decrementing the atomic reference count.
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters