hig.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Efficiency in Hash Table Design: A Study of Collision Resolution Strategies and Performance
University of Gävle, Faculty of Engineering and Sustainable Development, Department of Computer and Geospatial Sciences, Computer Science.
2024 (English)Independent thesis Basic level (degree of Bachelor), 5 credits / 7,5 HE creditsStudent thesis
Abstract [en]

In this paper, there will be research of three hashing techniques: Double Hashinging, Robin Hood, and a modified version of Robin Hood that will be named the Robin Hood variant, in short, its a variant without tombstones. The biggest focus in this paper will be the comparisons between Robin Hood and its variant. The investigations aim is to compare the performances across varying load factors, shedding light on collision resolution and other performance metrics.

Double Hashing has shown to excel at collision prevention, across all load factors, while Robin Hood and its variant outperformed in terms of average lookup time, average insertion time, average deletion time and average probe length. It was hoped that the Robin Hood variant could outperform the original, and when comparing the results between the two. The Robin Hood variant, managed to outperform slightly better in lookup time and average probe length when compared to the original. 

In conclusion, Double Hashing managed to outperform in collision rate, meanwhile Robin Hood performed better in other metrics such as insertion time and deletion time, and the variant performed best in lookup time and average probe length.  

Abstract [sv]

I denna uppsats kommer tre hashningstekniker att undersökas: Dubbel Hashning, Robin Hood, och en modifierad version av Robin Hood som kommer att kallas Robin Hood-varianten, kort sagt en variant utan gravstenar. Det största fokuset i denna uppsats kommer att vara jämförelserna mellan Robin Hood och dess variant. Undersökningens mål är att jämföra prestandan över olika belastningsfaktorer, och belysa kollisionsupplösning och andra prestandamått.

Dubbel hashning har visat sig vara överlägsen när det gäller att förhindra kollisioner, över alla belastningsfaktorer, medan Robin Hood och dess variant presterade bättre i termer av genomsnittlig uppslagstid, genomsnittlig insertionstid, genomsnittlig raderingstid och genomsnittlig sonderingslängd.

Förhoppningen var att Robin Hood-varianten skulle prestera bättre än originalet, och vid jämförelse av resultaten mellan de två, lyckades Robin Hood-varianten prestera något bättre i uppslagstid och genomsnittlig sonderingslängd jämfört med originalet.

Sammanfattningsvis presterade Dubbel hashning bäst när det gäller kollisionsfrekvens, medan Robin Hood presterade bättre i andra mått som insertionstid och raderingstid, och varianten presterade bäst i uppslagstid och genomsnittlig sonderingslängd.

Place, publisher, year, edition, pages
2024. , p. 40
Keywords [en]
Double Hashing, Robin Hood Hashing, Robin Hood without tombstones, Collision Resolution, Load Factor, Hash Table Performance
Keywords [sv]
Double Hashinging, Robin Hood Hashing, Robin Hood utan gravstenar, Kollisionupplösning, Belastningsfaktor, Hashtabellens prestanda
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hig:diva-45903OAI: oai:DiVA.org:hig-45903DiVA, id: diva2:1910020
External cooperation
Syntronic
Subject / course
Computer science education
Educational program
Study Programme in Computer Science
Supervisors
Examiners
Available from: 2024-11-08 Created: 2024-11-02 Last updated: 2025-10-02Bibliographically approved

Open Access in DiVA

Efficiency in Hash Table Design(473 kB)617 downloads
File information
File name FULLTEXT01.pdfFile size 473 kBChecksum SHA-512
017f088f957fae7c740f74b4cb6bc64db5bd18e79528feb090186c4cad17522f354a8e40b738fd092314a9a2043152504b1d2f4a8669e62bc807cf2c27ab8fee
Type fulltextMimetype application/pdf

By organisation
Computer Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 620 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 359 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf