Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

The Joys of Hashing

54,99 €

Sofort verfügbar, Lieferzeit: Sofort lieferbar

Format auswählen
Produkt Anzahl: Gib den gewünschten Wert ein oder benutze die Schaltflächen um die Anzahl zu erhöhen oder zu reduzieren.

The Joys of Hashing, Apress
Hash Table Programming with C
Von Thomas Mailund, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "The Joys of Hashing"

Build working implementations of hash tables, written in the C programming language. The new and revised Second Edition has been enhanced with simplified code and more comprehensive explanations, aimed at improving clarity and comprehension while exploiting the latest features in C programming.

This book starts with simple first attempts devoid of collision resolution strategies. It then progresses through improvements and extensions illustrating different design ideas and approaches, followed by experiments to validate the choices. You will learn how 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.

WHAT YOU WILL LEARN

* Master the basic ideas behind hash tables
* Carry out collision resolution, including strategies for handling collisions and their consequences for performance
* Resize or grow and shrink tables as needed
* Store values by handling when values must be stored with keys to make general sets and maps

WHO THIS BOOK IS FOR

Those with at least some prior programming experience, especially in C programming.

Thomas Mailund is a former associate professor in bioinformatics at Aarhus University, Denmark, and currently Senior Software Architect at the quantum computing company Kvantify. He has a background in math and computer science, including experience programming and teaching in C and R programming languages. For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.

1. The Joys of Hashing.- 2. Hash Keys, Indices and Collisions.- 3. Collision Resolution, Load Factor and Performance.- 4. Resizing.- 5. Adding Application Keys and Values.- 6. Heuristic Hash Functions.- 7. Universal Hashing.- 8. Conclusions.

Artikel-Details

Anbieter:
Apress
Autor:
Thomas Mailund
Artikelnummer:
9798868808265
Veröffentlicht:
25.10.24
Seitenanzahl:
170