From: Bruno Haible Date: Sat, 7 Oct 2006 16:52:38 +0000 (+0000) Subject: Move USE_HEURISTIC comment. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5243fa6d9ccf8f14c412468d9d6818fb795cc776;p=thirdparty%2Fgnulib.git Move USE_HEURISTIC comment. --- 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