Branch: Tag:


2016-10-21 13:58:57 by Henrik Grubbström (Grubba) <>

Mapping: Added flag MAPPING_FLAG_NO_SHRINK.

This is a flag that disables shrinking of the mapping_data hashtable
when the number of elements goes below the MIN_LINK_LENGTH threshold.
It is intended to be used by code that has mappings with a high
rotation of content (ie lots of mixed insertions and deletions).

15:   #define MAPPING_WEAK_VALUES 4   #define MAPPING_WEAK 6   #define MAPPING_FLAG_WEAK 6 /* Compat. */ + #define MAPPING_FLAG_NO_SHRINK 0x1000      struct keypair   {