comparison lshlib.h @ 755:37c2b9cce23a multiprobeLSH

Adding mkc_lsh_update branch, trunk candidate with improved LSH: merged trunk 1095 and branch multiprobe_lsh
author mas01mc
date Thu, 25 Nov 2010 13:42:40 +0000
parents 11ea54a02534
children
comparison
equal deleted inserted replaced
742:3e1137d12ecc 755:37c2b9cce23a
94 #define WRITE_UNS32(VAL, TOKENSTR) if( fwrite(VAL, sizeof(Uns32T), 1, dbFile) != 1 ){\ 94 #define WRITE_UNS32(VAL, TOKENSTR) if( fwrite(VAL, sizeof(Uns32T), 1, dbFile) != 1 ){\
95 fclose(dbFile);error("write error in serial_write_format2",TOKENSTR);} 95 fclose(dbFile);error("write error in serial_write_format2",TOKENSTR);}
96 96
97 //#define LSH_DUMP_CORE_TABLES // set to dump hashtables on load 97 //#define LSH_DUMP_CORE_TABLES // set to dump hashtables on load
98 //#define _LSH_DEBUG_ // turn on debugging information 98 //#define _LSH_DEBUG_ // turn on debugging information
99
100 //#define USE_U_FUNCTIONS // set to use partial hashfunction re-use 99 //#define USE_U_FUNCTIONS // set to use partial hashfunction re-use
101
102
103 100
104 // Backward-compatible CORE ARRAY lsh index 101 // Backward-compatible CORE ARRAY lsh index
105 #define LSH_CORE_ARRAY // Set to use arrays for hashtables rather than linked-lists 102 #define LSH_CORE_ARRAY // Set to use arrays for hashtables rather than linked-lists
106 #define LSH_LIST_HEAD_COUNTERS // Enable counters in hashtable list heads 103 #define LSH_LIST_HEAD_COUNTERS // Enable counters in hashtable list heads
107 104