summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3929881)
The calculation should be based on the previous size, because we've
already spent half of the tokens getting to this point.
if (t->load)
t->load--;
if (!t->load && hash_extend(&t->t))
if (t->load)
t->load--;
if (!t->load && hash_extend(&t->t))
- t->load = SYM_LIMIT(t->t.mask + 1);
+ t->load = SYM_LIMIT(t->t.mask/2 + 1);
/* --- Finished that, so return the new symbol block --- */
/* --- Finished that, so return the new symbol block --- */