I can see std::__unordered_map with __cache_hash_code=true has great runtime performance boost. But it is not available to std::unordered_map. Is __cache_hash_code=true deprecated?
I can see std::__unordered_map with __cache_hash_code=true has great runtime performance boost. But it is
Share
Any identifier with double underscore (
__) in the name is reserved by the implementation, so it’s an implementation-specific piece of code that may or may not be supported with the same or different semantics in the future.Unless profiling has revealed that the hashing is a significant bottleneck in your program, just use the standard container to help maintainability and portability.