Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
1f92060085
  1. 4
      src/policy_cache.hpp

4
src/policy_cache.hpp

@ -54,6 +54,7 @@ public:
std::string const &val_)
{
uint64_t hash;
STRPOOL_U64 key;
const char *val;
fmt::print("insert {}={}\n",
@ -61,8 +62,7 @@ public:
val_);
hash = wyhash(key_.c_str(),key_.size(),0xdeadbeef,_wyp);
val =
_cache.insert_or_assign(hash,val_);
}

Loading…
Cancel
Save