Collision Resolution Hash Tables: A Comparative Performance Study Using Synthetic Data in C++
Abstract
Hash tables are essential for fast data storage and retrieval; however, managing collisions remains a core challenge that affects overall efficiency. This research aims to evaluate and compare the performance of three prominent collisions resolution strategies; Linear Probing, Quadratic Probing, and Double Hashing in hash tables. To achieve this, C++ implementation was developed, and synthetic datasets of varying sizes were generated to simulate different load conditions. The research employed experimental method, measuring key performance indicators such as execution time, number of collisions and memory consumption across multiple trials were employed to assess performance under varying load factors. The results reveal that Linear Probing is prone to primary clustering leading to significant performance degradation as the load factor increases. Quadratic Probing mitigates clustering more effectively but encounter limitations when its probing sequence cycles. Double Hashing consistently outperforms the other techniques, delivering superior results through more uniform distribution of keys, particularly in high-load environments. This study concludes that Double Hashing offers the best balance of speed and efficiency for collision resolution, making it a preferred choice for optimizing hash table performance in data-intensive and high-performance computing applications.
Keywords
References
More Articles from INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND MATHEMATICAL THEORY
Author: Michael Arnold and Fabio Vitor
Author: Ngozi Samuel Uzougbo, Michael Ominyi, Cyril Chimelie Anichukwueze, Blessing, Chika Jones
Author: Lawal Ahmed Oladimeji, Achori Busayo, Akeju BusayoZainab, Saka Samson, Damilare, Mbah Demian Chidi, Runsewe Similoluwa Mayowa, Oladiti Luqman, Abiodun
Author: Okolo Clement, Eluemuno
Author: Chukumeka Gift Iroanwusi, Davies Isobo Nelson
