2 Tests the generated perfect hash function.
3 The -v option prints diagnostics as to whether a word is in
4 the set or not. Without -v the program is useful for timing.
16 int verbose = argc > 1 ? 1 : 0;
20 if (in_word_set (buf, strlen (buf)) && verbose)
21 printf ("in word set %s\n", buf);
23 printf ("NOT in word set %s\n", buf);