Skip to content

Commit 62c6b71

Browse files
committed
update: change in threshold value
1 parent 44c158a commit 62c6b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_DataStructures_/HashTable/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class HashTable {
88
// and help to resize when the table is half filled
99
this.size = 0;
1010
// threshold (let it be 70%)
11-
this.threshold = 0.8;
11+
this.threshold = 0.7;
1212
// the main bucket
1313
this.bucket = new Array(this.slot);
1414

0 commit comments

Comments
 (0)