From: Bruno Haible Date: Mon, 18 Dec 2006 12:48:30 +0000 (+0000) Subject: Move USE_HEURISTIC comment. X-Git-Tag: v0.17~567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f756be9ba361c117f0575de289fadacd2f84521;p=thirdparty%2Fgettext.git Move USE_HEURISTIC comment. --- diff --git a/gnulib-local/lib/fstrcmp.c b/gnulib-local/lib/fstrcmp.c index a5732ac92..e9a4b3bb2 100644 --- a/gnulib-local/lib/fstrcmp.c +++ b/gnulib-local/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. */ bool heuristic; #endif