From f00278b816036c83b9face14c835dd43f644ae31 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 15 Mar 2024 07:09:54 -0500 Subject: [PATCH] policy_cache.hpp --- src/policy_cache.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index 1df43906..4fe11aa9 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -18,8 +18,13 @@ #pragma once +// This uses a hashed key to limit the size of the data +// structure. This could lead to choosing the wrong value but given +// its usecase that really isn't a big deal. + #include "nonstd/optional.hpp" #include "boost/unordered/concurrent_flat_map.hpp" +#include "boost/flyweight.hpp" #include "wyhash.h" #include "strpool.h"