summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
abd2230)
We were doubling the storage every time we failed to find a bin
present, whether or not we actually needed any more storage (oops!).
else if (mnemon->bins[i].count > count)
break;
else if (mnemon->bins[i].count > count)
break;
- mnemon_bins_grow (mnemon);
+ if (mnemon->num_bins == mnemon->bins_size)
+ mnemon_bins_grow (mnemon);