What's the best hashing algorithm to use on a stl string when using hash_map?

前端 未结 11 2330
生来不讨喜
生来不讨喜 2020-12-04 10:41

I\'ve found the standard hashing function on VS2005 is painfully slow when trying to achieve high performance look ups. What are some good examples of fast and efficient has

11条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 11:41

    Boost has an boost::hash library which can provides some basic hash functions for most common types.

提交回复
热议问题