copy from azulkv An experimental kv store written in golang.
Aimed ad small to medium kv dbs (small < 1000 entries; medium < 10,000 entries).
adds a kv tuple
updates the value of a tuple with the key “key”
deletes a tuple with key “key”
returns the value of tuple with the key “key”
lists all kv tuples in the store (db)
list the total number of tuples in the store (db)
returns info of the store (db)
Uses Slices to store data instead of map.
Use of hash function to find and compare keys.
- simple linear search up to xx entries. tbd with experiments
- two level table look-up and linear search.