Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of hashing values in this comprehensive conference talk from ACCU 2019. Delve into the multiple dimensions of hashing techniques for efficient associative containers, including using hash functions, hashing byte sequences, extracting byte sequences from values, and considerations for default hashing functions. Learn why applications should avoid custom implementations and focus on providing hash values for user-defined types. Understand the crucial aspects of hashing user-defined types, such as the relationship between equality and hash values, handling empty sequences, and the interaction of hash values between different types. Gain insights applicable across programming languages, with code examples in C++, from Dietmar Kühl, a senior software developer at Bloomberg L.P. and regular contributor to the ANSI/ISO C++ standards committee.