-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
few minor MemoryCache perf improvements (#44797)
* make ValidateCacheKey and CheckDisposed inlinable by moving throws to separate methods * ensure that the check for expiration does not require a method call for the most common case * update the last expiration scan when the Scan Task starts actual work * Apply suggestions from code review Co-authored-by: Stephen Toub <stoub@microsoft.com>
- Loading branch information
1 parent
30769e8
commit 65efefd
Showing
1 changed file
with
33 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