Skip to content

Commit 5260315

Browse files
committed
Update README.md
1 parent 9439a03 commit 5260315

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# key-value-db
2-
This project is a simple implementation of a hash-map.
2+
This project contains different implementations of hash maps
33
<br>
4-
The underlaying data structure of this implementation is a Binary Search Tree.
4+
Currently developed:
5+
1. Using a Binary Search Tree as underlying data structure
6+
2. Using a Dynamic resizing array as underlying data structure
57

68
## Dependencies:
79
This project depends on:

src/source/hash_table.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int hash_table_insert_elem(hash_table_t** t, const char* key, const char* value)
8585
return 0;
8686

8787
if(((*t)->size + 1) % (*t)->capacity == 0) {
88-
hash_table_rehash(&(*t));
88+
hash_table_rehash(t);
8989
}
9090

9191
uint32_t hashed_key = (*t)->hash_function((*t), key, strlen(key));

0 commit comments

Comments
 (0)