The Joys of Hashing

Thomas Mailund
1 min readApr 9, 2019

It is actually a while since The Joys of Hashing came out, but I have been away from Medium so I am making the announcement now.

Build working implementations of hash tables, written in the C programming language. This book starts with simple first attempts devoid of collision resolution strategies, and moves through improvements and extensions illustrating different design ideas and approaches, followed by experiments to validate the choices.

Hash tables, when implemented and used appropriately, are exceptionally efficient data structures for representing sets and lookup tables, providing low overhead, constant time, insertion, deletion, and lookup operations.

The Joys of Hashing walks you through the implementation of efficient hash tables and the pros and cons of different design choices when building tables. The source code used in the book is available on GitHub for your re-use and experiments.

--

--

Thomas Mailund

Associate professor in bioinformatics and author of a bunch of text books