-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize some portions of the Snapshot code for speed. (#427)
Now only the lazy-load portion will double-check for a race to avoid loading the resource multiple times if threads are very racy or the resource loading takes time. In other cases, which should occour more rarely, we assume what we saw is still the case now.
- Loading branch information
Showing
1 changed file
with
12 additions
and
23 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