Details

The Joys of Hashing

Leseprobe

The Joys of Hashing

Hash Table Programming with C
Second Edition

von: Thomas Mailund

54,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 09.11.2024
ISBN/EAN: 9798868808265
Sprache: englisch
Anzahl Seiten: 170

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

<p>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.</p>

<p>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.&nbsp;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.&nbsp;</p>

<p><em>The Joys of Hashing</em> 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.</p>

<p><strong>What You Will Learn</strong></p>

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

<p><strong>Who This Book Is For</strong></p>

<p>Those with at least some prior programming experience, especially in C programming.</p>
<div>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.</div>
<p>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.&nbsp; For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.</p>
<p>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.</p>

<p>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.&nbsp;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.&nbsp;</p>

<p><em>The Joys of Hashing</em> 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.</p>

<p><strong>What You Will Learn</strong></p>

<ul>
<li>Master the basic ideas behind hash tables</li>
<li>Carry out collision resolution, including strategies for handling collisions and their consequences for performance</li>
<li>Resize or grow and shrink tables as needed</li>
<li>Store values by handling when values must be stored with keys to make general sets and maps</li>
</ul>
Gives the pros and cons of different design choices when building tables Walks you through the implementation of efficient hash tables Contains a particular focus on teaching hash tables programming using the C programming language

Diese Produkte könnten Sie auch interessieren:

The Best of Verity Stob
The Best of Verity Stob
von: Verity Stob
Preis: 26,99 €
Pro Spring
Pro Spring
von: Rob Harrop, Jan Machacek
Preis: 46,00 €
Agile Development with ICONIX Process
Agile Development with ICONIX Process
von: Don Rosenberg, Mark Collins-Cope, Matt Stephens
Preis: 56,99 €