Add implementation for bucket size in hash map in 32 bit architecture.
@@ -54,6 +54,8 @@ size_t set_bucket_capacity(size_t prime)
1164186217UL,
2364114217UL,
4294967291UL,
+
+ #if (SIZE_MAX > 0xFFFFFFFF)
(size_t)8589934583ULL,
(size_t)17179869143ULL,
(size_t)34359738337ULL,
@@ -85,7 +87,8 @@ size_t set_bucket_capacity(size_t prime)
(size_t)2305843009213693951ULL,
(size_t)4611686018427387847ULL,
(size_t)9223372036854775783ULL,
- (size_t)18446744073709551557ULL,
+ (size_t)18446744073709551557ULL
+ #endif
};
static const size_t capacity_primes_size = sizeof(capacity_primes) / sizeof(capacity_primes[0]);
