A Genetic Algorithm for Obtaining Memory Constrained Near-Perfect Hashing

07/16/2020
by   Dan Domnita, et al.
0

The problem of fast items retrieval from a fixed collection is often encountered in most computer science areas, from operating system components to databases and user interfaces. We present an approach based on hash tables that focuses on both minimizing the number of comparisons performed during the search and minimizing the total collection size. The standard open-addressing double-hashing approach is improved with a non-linear transformation that can be parametrized in order to ensure a uniform distribution of the data in the hash table. The optimal parameter is determined using a genetic algorithm. The paper results show that near-perfect hashing is faster than binary search, yet uses less memory than perfect hashing, being a good choice for memory-constrained applications where search time is also critical.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/04/2022

SicHash – Small Irregular Cuckoo Tables for Perfect Hashing

A Perfect Hash Function (PHF) is a hash function that has no collisions ...
research
05/01/2019

Separate Chaining Meets Compact Hashing

While separate chaining is a common strategy for resolving collisions in...
research
01/31/2023

Bounds for c-Ideal Hashing

In this paper, we analyze hashing from a worst-case perspective. To this...
research
03/16/2020

Dash: Scalable Hashing on Persistent Memory

Byte-addressable persistent memory (PM) brings hash tables the potential...
research
05/10/2022

PaCHash: Packed and Compressed Hash Tables

We introduce PaCHash, a hash table that stores its objects contiguously ...
research
12/27/2017

Analysing the Performance of GPU Hash Tables for State Space Exploration

In the past few years, General Purpose Graphics Processors (GPUs) have b...

Please sign up or login with your details

Forgot password? Click here to reset