summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-01-19 09:50:07 +0000
committerBruno Haible <bruno@clisp.org>2009-01-19 09:50:07 +0000
commit57745086ac72e67c33a8535b4916963b10777842 (patch)
treecf51eb86e28ff19fd72919425a552ac10cfdee3b /src/main.cc
parent7fac4aa2b6eecf2cc47acffb2d9beebb8c2c2066 (diff)
downloadgperf-57745086ac72e67c33a8535b4916963b10777842.tar.gz
Don't include the length in the hash function if all keywords have the same
length.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index 43630bc..34b59ee 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,5 +1,5 @@
/* Driver program for the hash function generator
- Copyright (C) 1989-1998, 2000, 2002-2003 Free Software Foundation, Inc.
+ Copyright (C) 1989-1998, 2000, 2002-2003, 2009 Free Software Foundation, Inc.
Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
and Bruno Haible <bruno@clisp.org>.
@@ -104,6 +104,7 @@ main (int argc, char *argv[])
searcher._total_keys,
searcher._max_key_len,
searcher._min_key_len,
+ searcher._hash_includes_len,
searcher._key_positions,
searcher._alpha_inc,
searcher._total_duplicates,