You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize KeyedLock and related concurrency primitives (#96372)
This class was quite hot in recent benchmarks of shared-cached based searches and we can make instantiating the releasable locks a little cheaper. Also, those same benchmarks showed a lot of visible time spent on dealing with ref counts. I removed one layer of indirection in atomic use from both the release-once and the abstract ref count which should save a little in CPU caches as well.
0 commit comments