don't inline hashmap size doubling function

This commit is contained in:
dzaima 2021-12-05 19:25:54 +02:00
parent 0b42b35d51
commit 9af0d4b66f

View File

@ -106,7 +106,7 @@ static inline void N(qins) (Map* m, u64 h1, HT h2 IFKEY(, KT k) IFVAL(, VT v)) {
if (p++==mask) p = 0;
}
}
static void N(dbl) (Map** m) {
static NOINLINE void N(dbl) (Map** m) {
Map* pm = *m;
u64 psz = pm->sz;
Map* nm = N(m)(psz*2);