Ticket #22536: blt-x86_64.patch
File blt-x86_64.patch, 829 bytes (added by howarth@…, 15 years ago) |
---|
-
src/bltTree.c
old new 95 95 */ 96 96 97 97 #define REBUILD_MULTIPLIER 3 98 #define START_LOGSIZE 5 /* Initial hash table size is 32. */ 99 #define MAX_LIST_VALUES 20 /* Convert to hash table when node 100 * value list gets bigger than this 101 * many values. */ 98 102 99 103 #if (SIZEOF_VOID_P == 8) 100 104 #define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) 101 105 #define BITSPERWORD 64 102 106 #else 103 107 104 #define START_LOGSIZE 5 /* Initial hash table size is 32. */105 #define MAX_LIST_VALUES 20 /* Convert to hash table when node106 * value list gets bigger than this107 * many values. */108 109 108 /* 110 109 * The following macro takes a preliminary integer hash value and 111 110 * produces an index into a hash tables bucket list. The idea is