Index: src/OFMutableDictionary.m ================================================================== --- src/OFMutableDictionary.m +++ src/OFMutableDictionary.m @@ -30,13 +30,13 @@ uint32_t i; if (count > SIZE_MAX / 4) @throw [OFOutOfRangeException newWithClass: isa]; - if (fill > 3) + if (fill >= 3) newsize = *size << 1; - else if (fill < 1) + else if (fill <= 1) newsize = *size >> 1; else return; if (newsize == 0)