Mercurial > hg > audiodb
changeset 526:cbd5841e6b70 multiprobeLSH
Set ADB_FIXME_DEFAULT_LSH_N_POINT_BITS to 15 so we can get about 20k vectors per file in the LSH point encoding. This pain and suffering will go away soon, I promise.
author | mas01mc |
---|---|
date | Wed, 28 Jan 2009 17:54:18 +0000 |
parents | 11dd6eab15c8 |
children | 7ee6a2701d90 |
files | Makefile audioDB-internals.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Jan 28 17:18:58 2009 +0000 +++ b/Makefile Wed Jan 28 17:54:18 2009 +0000 @@ -23,7 +23,7 @@ #override CFLAGS+=-DLSH_DUMP_CORE_TABLES # set to turn on debugging information for LSH hashtables -#override CFLAGS+=-D_LSH_DEBUG_ +override CFLAGS+=-D_LSH_DEBUG_ # set to increase multiple probes in LSH QUERY (allowable range = 1 ... lsh_k*2) #override CFLAGS+=-DLSH_MULTI_PROBE_COUNT=10
--- a/audioDB-internals.h Wed Jan 28 17:18:58 2009 +0000 +++ b/audioDB-internals.h Wed Jan 28 17:54:18 2009 +0000 @@ -282,7 +282,7 @@ return ((track_id << n_point_bits) | track_pos); } -#define ADB_FIXME_DEFAULT_LSH_N_POINT_BITS 14 +#define ADB_FIXME_DEFAULT_LSH_N_POINT_BITS 15 #ifndef ADB_FIXME_LSH_N_POINT_BITS #define ADB_FIXME_LSH_N_POINT_BITS ADB_FIXME_DEFAULT_LSH_N_POINT_BITS #endif