mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
policy_cache.hpp
This commit is contained in:
parent
abfcd05f47
commit
b068ae4dc4
1 changed files with 1 additions and 3 deletions
|
|
@ -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_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue