-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-16687 reduce mutex contention in validator
There is a mutex that guards the construction of []sync.Once, and the level of contention is currently O(n^2), which can be reduced to O(n) by trivial changes. Change-Id: I9522eeebf6998ca7403c4033bac5932298ce8067 Signed-off-by: Jay Guo <guojiannan1101@gmail.com>
- Loading branch information
Showing
1 changed file
with
8 additions
and
13 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