Hi,
  this is part 2 of the coverity-fixes merge: SBuf hash.
This code allows to have std::unordered_maps where the key is a SBuf, in
case-sensitive and case-insensitive variants. The hashing is the same as
used in the current Squid hash implementation (from lib/hash.cc) in order
not to upset the current uses. More specific algorithms can be implemented
by future users if they wish to.



-- 
    Francesco

Attachment: coverity-fixes-sbufhasher.patch
Description: Binary data

_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to