From c6d01458b4545500a964491c2602da3c3079bfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 9 Aug 2022 22:11:08 +0200 Subject: Stored roots lookup --- src/storage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/storage.h') diff --git a/src/storage.h b/src/storage.h index ef335b8..30e4213 100644 --- a/src/storage.h +++ b/src/storage.h @@ -167,6 +167,9 @@ struct PartialStorage::Priv mutable mutex generationCacheLock {}; mutable unordered_map generationCache {}; + + mutable mutex rootsCacheLock {}; + mutable unordered_map> rootsCache {}; }; struct PartialRef::Priv -- cgit v1.2.3