# HG changeset patch # User mas01mc # Date 1290692560 0 # Node ID 37c2b9cce23a41b2798b903dd0e6ffbce0fe69b4 # Parent 3e1137d12ecc45306efaa9c55d3e3e25ac7c7182 Adding mkc_lsh_update branch, trunk candidate with improved LSH: merged trunk 1095 and branch multiprobe_lsh diff -r 3e1137d12ecc -r 37c2b9cce23a lshlib.cpp --- a/lshlib.cpp Mon Oct 04 20:48:58 2010 +0000 +++ b/lshlib.cpp Thu Nov 25 13:42:40 2010 +0000 @@ -1,6 +1,5 @@ #include "lshlib.h" - void err(char*s){cout << s << endl;exit(2);} Uns32T get_page_logn(){ @@ -1255,7 +1254,6 @@ } int G::unserialize_lsh_header(char* filename){ - int dbfid; char* db; // Test to see if file exists @@ -1970,7 +1968,6 @@ pe+=lshHeader->numCols; }while(pe<(SerialElementT*)db+lshHeader->numRows*lshHeader->numCols); } - } void G::serial_bucket_dump(SerialElementT* pe){ diff -r 3e1137d12ecc -r 37c2b9cce23a lshlib.h --- a/lshlib.h Mon Oct 04 20:48:58 2010 +0000 +++ b/lshlib.h Thu Nov 25 13:42:40 2010 +0000 @@ -96,11 +96,8 @@ //#define LSH_DUMP_CORE_TABLES // set to dump hashtables on load //#define _LSH_DEBUG_ // turn on debugging information - //#define USE_U_FUNCTIONS // set to use partial hashfunction re-use - - // Backward-compatible CORE ARRAY lsh index #define LSH_CORE_ARRAY // Set to use arrays for hashtables rather than linked-lists #define LSH_LIST_HEAD_COUNTERS // Enable counters in hashtable list heads