-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using Rc saves some atomic operations, at the cost of the result being usable only from one thread. But lots of things are multi-threaded, including Python, which causes issues trying to [wrap this type](GothenburgBitFactory/taskchampion-py#11). This isn't performance-critical code, so let's just us Arc. This is a breaking change to the return type of `Replica::dependency_map`. This also adds a `Clone` derive to the type, just in case someone wants the data without sharing.
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 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
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
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