Ticket #22536: blt-x86_64.patch

File blt-x86_64.patch, 829 bytes (added by howarth@…, 15 years ago)

blt-x86_64.patch

  • src/bltTree.c

    old new  
    9595 */
    9696
    9797#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. */
    98102
    99103#if (SIZEOF_VOID_P == 8)
    100104#define RANDOM_INDEX(i)         HashOneWord(mask, downshift, i)
    101105#define BITSPERWORD             64
    102106#else
    103107
    104 #define START_LOGSIZE           5 /* Initial hash table size is 32. */
    105 #define MAX_LIST_VALUES         20 /* Convert to hash table when node
    106                                     * value list gets bigger than this
    107                                     * many values. */
    108 
    109108/*
    110109 * The following macro takes a preliminary integer hash value and
    111110 * produces an index into a hash tables bucket list.  The idea is