Skip to content

Implementation of the paper 'Linear Hashing: A New Tool For File And Table Addressing' to handle duplicate elimination

Notifications You must be signed in to change notification settings

ssumukh/Linear-Hashing-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear-Hashing-Database

Implementation of the paper Linear Hashing: A New Tool For File And Table Addressing' to handle duplicate elimination

Linear hashing (LH) is a dynamic data structure which implements a hash table and grows or shrinks one bucket at a time. It is the first in a number of schemes known as dynamic hashing such as Larson's Linear Hashing with Partial Extensions, Linear Hashing with Priority Splitting, Linear Hashing with Partial Expansions and Priority Splitting, or Recursive Linear Hashing.

To run:

Compile:

g++ -std=c++11 lnrHsh.cpp

Run:

./a.out inputFile number_of_buffers buffer_size

where number of buffers is >= 2.

Eg: ./a.out input.txt 4 16 > result.txt

Verify:

diff result.txt output.txt

About

Implementation of the paper 'Linear Hashing: A New Tool For File And Table Addressing' to handle duplicate elimination

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages