diff options
author | Bruno Haible <bruno@clisp.org> | 2003-03-10 15:01:00 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-03-10 15:01:00 +0000 |
commit | 6ba54862299937b54369f1d64f620ad2bc8fd60f (patch) | |
tree | 9069ea492a4d31083c86009b8322c3d6885e32c0 /doc | |
parent | 9492f0dad7d0546e8efa62ee72ba7ce5d5899e55 (diff) | |
download | gperf-6ba54862299937b54369f1d64f620ad2bc8fd60f.tar.gz |
Make the option -s easier to use.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gperf.texi | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/gperf.texi b/doc/gperf.texi index f52bb04..c925cfc 100644 --- a/doc/gperf.texi +++ b/doc/gperf.texi @@ -1074,16 +1074,13 @@ table. Affects the size of the generated hash table. The numeric argument for this option indicates ``how many times larger or smaller'' the maximum associated value range should be, in relationship to the number of keywords. -If the @var{size-multiple} is negative the maximum associated value is -calculated by @emph{dividing} the number of keywords by it. For -example, a value of 3 means ``allow the maximum associated value to be -about 3 times larger than the number of input keywords''. - -Conversely, a value of -3 means ``allow the maximum associated value to -be about 3 times smaller than the number of input keywords''. Negative -values are useful for limiting the overall size of the generated hash -table, though this usually increases the number of duplicate hash -values. +It can be written as an integer, a floating-point number or a fraction. +For example, a value of 3 means ``allow the maximum associated value to be +about 3 times larger than the number of input keywords''. +Conversely, a value of 1/3 means ``allow the maximum associated value to +be about 3 times smaller than the number of input keywords''. Values +smaller than 1 are useful for limiting the overall size of the generated hash +table, though the option @samp{-m} is better at this purpose. If `generate switch' option @samp{-S} (or, equivalently, @samp{%switch}) is @emph{not} enabled, the maximum |