Useful macro which dynamically resizes a FX::QDictBase subclass according to a number of runtime factors:
- If there aren't many items in the container (up to 64 or 16 if using a string key), uses a table size of one (ie; causes pure binary search). Depending on compile time defines will do the same if the container is doing more inserts/removals than lookups (via QDictBase::dictionaryBias()).
- If memory load is low (0), will only shrink when dictionary contents fall below one quarter of the dictionary table size.
Otherwise it ensures dictionary table size is twice that of contents and is a prime number (via
FX::fx2powerprimes) shifted right by memory load.
Definition at line 533 of file qdictbase.h.