impl hash map

This commit is contained in:
2024-07-18 14:21:43 +08:00
parent 640cb926ca
commit 04678ac09b
6 changed files with 370 additions and 1 deletions

3
utils_static.cpp Normal file
View File

@@ -0,0 +1,3 @@
#include "utils_static.h"
size_t hashmap_primes[26] = { 53, 97, 193, 389, 769, 1543, 3079, 6151, 12289, 24593, 49157, 98317, 196613, 393241, 786433, 1572869, 3145739, 6291469, 12582917, 25165843, 50331653, 100663319, 201326611, 402653189, 805306457, 1610612741 };