From 5243fa6d9ccf8f14c412468d9d6818fb795cc776 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 Oct 2006 16:52:38 +0000 Subject: [PATCH] Move USE_HEURISTIC comment. --- lib/fstrcmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fstrcmp.c b/lib/fstrcmp.c index 2ba6cf4aad..9ff07366f5 100644 --- a/lib/fstrcmp.c +++ b/lib/fstrcmp.c @@ -63,6 +63,8 @@ #define ELEMENT char #define EQUAL(x,y) ((x) == (y)) #define OFFSET int +/* We don't need USE_HEURISTIC, since it is unlikely in typical uses of + fstrcmp(). */ /* Before including this file, you need to define: ELEMENT The element type of the sequences being compared. @@ -110,9 +112,7 @@ struct context #ifdef USE_HEURISTIC /* This corresponds to the diff -H flag. With this heuristic, for vectors with a constant small density of changes, the algorithm is - linear in the vectors size. This is unlikely in typical uses of - fstrcmp, and so is usually compiled out. Besides, there is no - interface to set it true. */ + linear in the vectors size. */ int heuristic; #endif -- 2.39.5