mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
policy_cache.hpp
This commit is contained in:
@@ -67,9 +67,7 @@ public:
|
||||
STRPOOL_U64 token;
|
||||
|
||||
hash = wyhash(key_,keylen_,0xdeadbeef,_wyp);
|
||||
token = strpool_inject(&_strpool,val_.c_str(),val_.size());
|
||||
ptr = strpool_cstr(&_strpool,token);
|
||||
_cache.insert_or_assign(hash,ptr);
|
||||
_cache.insert_or_assign(hash,val_);
|
||||
|
||||
fmt::print("insert {}={} token={} ptr={}\n",
|
||||
key_,
|
||||
|
||||
Reference in New Issue
Block a user