I want to use C-style strings in an unordered_map. Do C++11 or Boost come with anything that will do the job? Best I could find was boost::collate::hash, but I don’t want to deal with locales, and I suspect being locale-correct will make it slow. So I’m leaning toward just using MurmurHash3.
In case you’re curious I want to use C-style strings instead of std::string because most of the keys are string literals, and that way I can avoid a lot of allocation and copying.
No, it doesn’t so I ended up using Murmur hash.