-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an Update method to update an existing tag
This is useful to avoid a double lookup: once to find the current value, the second time to update its value. The tag could be a counter we want to update or, with the generics tree, any struct/map. The code change is minimal but `Set()` could be a bit smaller since it reuses the same code path. However, I believe the compiler should be smart enough to turn the constant function into a single value.
- Loading branch information
1 parent
e509760
commit 6efe903
Showing
63 changed files
with
1,297 additions
and
809 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.