From ce542b425562ea482fc29095e4ee3ce935c4d551 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 23 Feb 2001 14:02:46 +0000 Subject: [PATCH] Generate index cards. The chewer is complete, but it will probably need a bit of optimization and fine-tuning when we get some real data. The searching for words present in the cache doesn't look well. --- lib/index.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.h b/lib/index.h index 8a975293..6394b65c 100644 --- a/lib/index.h +++ b/lib/index.h @@ -53,6 +53,8 @@ enum card_flag { CARD_FLAG_MERGED = 8, /* Destination of a merge [merger] */ }; +#define CARD_POS_SHIFT 5 /* Card positions are shifted this # of bytes to the right */ + /* String fingerprints */ struct fingerprint { -- 2.39.2