-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(rust): support concurrent readers (Mutax -> RwLock):
Accroding to https://stackoverflow.com/a/27826181/6739302 : You can also use a RwLock instead of a Mutex to allow multiple concurrent readers. Currently, 'suffix_is_blacklisted()' (thus 'is_valid()') is limited to 1 concurrent reader due to the introductoin of Mutax in commit 'feat(rust): add add_custom_domains :'. This commit fixes this bottleneck.
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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