Skip to content

Commit

Permalink
hashlib: Correct prime sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
georgerennie committed Jul 2, 2024
1 parent 78ae4ed commit 339d4e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/hashlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ inline int hashtable_size(int min_size)
5347553, 6684443, 8355563, 10444457, 13055587, 16319519, 20399411,
25499291, 31874149, 39842687, 49803361, 62254207, 77817767, 97272239,
121590311, 151987889, 189984863, 237481091, 296851369, 371064217,
463830273, 579787849, 724734817, 905918527, 1132398207, 1415497781
463830313, 579787991, 724735009, 905918777, 1132398479, 1415498113,
1769372713
};

for (auto p : zero_and_some_primes)
Expand Down

0 comments on commit 339d4e8

Please sign in to comment.