computing hash values, integral types versus struct/class

Posted by aaa on Stack Overflow See other posts from Stack Overflow or by aaa
Published on 2010-03-13T19:12:43Z Indexed on 2010/03/13 19:15 UTC
Read the original article Hit count: 347

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

© Stack Overflow or respective owner

Related posts about hash

Related posts about primitive-types