computing hash values, integral types versus struct/class
- by aaa
hello
I would like to know if there is a difference in speed between computing hash value (for example std::map key) of primitive integral type, such as int64_t and pod type, for example struct { int16_t v[4]; };.
I know this is going to implementation specific, so my question ultimately pertains to gnu standard library.
Thanks