pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:14:   #include "pike_error.h"   #include "pike_memory.h"   #include "pike_types.h"   #include "buffer.h"   #include "interpret.h"   #include "las.h"   #include "gc.h"   #include "stralloc.h"   #include "block_allocator.h"   #include "opcodes.h" - #include "stuff.h" + #include "pike_cpulib.h"      /* Average number of keypairs per slot when allocating. */   #define AVG_LINK_LENGTH 4      /* Minimum number of elements in a hashtable is half of the slots. */   #define MIN_LINK_LENGTH_NUMERATOR 1   #define MIN_LINK_LENGTH_DENOMINATOR 2      /* Number of keypairs to allocate for a given size. */   #define MAP_SLOTS(X) ((X)?((X)+((X)>>4)+8):0)