diff options
author | Bruno Haible <bruno@clisp.org> | 2003-01-29 12:31:42 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-01-29 12:31:42 +0000 |
commit | 3aff1fd64fdbf04ec108e989e342a66f353892c5 (patch) | |
tree | 89ca9babfe35db2bdfe49921bb1e31e4a3d05f37 /tests | |
parent | f54d310530bf4e5c66deefe1ffe0b21f35a72162 (diff) | |
download | gperf-3aff1fd64fdbf04ec108e989e342a66f353892c5.tar.gz |
Slightly reorganize command line options help.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-6.exp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-6.exp b/tests/test-6.exp index 856390b..75c2ee3 100644 --- a/tests/test-6.exp +++ b/tests/test-6.exp @@ -42,6 +42,10 @@ Details in the output code: -Z, --class-name=NAME Specify name of generated C++ class. Default name is 'Perfect_Hash'. -7, --seven-bit Assume 7-bit characters. + -l, --compare-strlen Compare key lengths before trying a string + comparison. This is necessary if the keywords + contain NUL bytes. It also helps cut down on the + number of string comparisons made during the lookup. -c, --compare-strncmp Generate comparison code using strncmp rather than strcmp. -C, --readonly-tables Make the contents of generated lookup tables @@ -81,9 +85,6 @@ Algorithm employed by gperf: hash function to consider ALL key positions, and $ indicates the "final character" of a key, e.g., $,1,2,4,6-10. - -l, --compare-strlen Compare key lengths before trying a string - comparison. This helps cut down on the number of - string comparisons made during the lookup. -D, --duplicates Handle keywords that hash to duplicate values. This is useful for certain highly redundant keyword sets. -f, --fast=ITERATIONS Generate the gen-perf.hash function "fast". This |