From f0a412665415e914a3739245c21c058c88425fe9 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 26 Oct 2000 02:44:37 +0000 Subject: Another slight performance improvement, reads the list of words faster when starting indexing of new data. 2000-10-26 Not Zed * block.c (ibex_block_cache_open): Use IBEX_VERSION rather than hardcoded version string. * ibex_internal.h (IBEX_VERSION): Bumped version again. This time I did change the index format. * hash.c (struct _hashroot): Add a linked list of keys to the table. (struct _hashblock): Added a next pointer as a block number. (hash_insert): Link new key blocks into the key block list. (struct _HASHCursor): Renamed block to key and added a block item. (hash_cursor_next): Changed to go through the linked list of all hash items rather than through each hash chain separately. >> faster. (ibex_hash_dump_rec): Remove a warning. svn path=/trunk/; revision=6192 --- libibex/ibex_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libibex/ibex_internal.h') diff --git a/libibex/ibex_internal.h b/libibex/ibex_internal.h index db772e4062..1a1e968661 100644 --- a/libibex/ibex_internal.h +++ b/libibex/ibex_internal.h @@ -24,7 +24,7 @@ #include "block.h" #include "wordindex.h" -#define IBEX_VERSION "ibx5" +#define IBEX_VERSION "ibx6" struct ibex { char *path; -- cgit