diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-09 10:24:59 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-04-09 10:24:59 +0000 |
commit | bfefa088aa22eb8f026e93ee1c372fe18c3fa3a1 (patch) | |
tree | 2a7c601567b956ac42857b9ec88bb870e53ee7b4 /src/search.h | |
parent | 3bdad49e79619a0de67bb9ea112829417f4eabcd (diff) | |
download | gperf-bfefa088aa22eb8f026e93ee1c372fe18c3fa3a1.tar.gz |
Renamings and small reorganizations.
Diffstat (limited to 'src/search.h')
-rw-r--r-- | src/search.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/search.h b/src/search.h index 9d14aec..17c874c 100644 --- a/src/search.h +++ b/src/search.h @@ -39,7 +39,7 @@ public: ~Search (); void optimize (); private: - void preprepare (); + void prepare (); /* Computes the upper bound on the indices passed to asso_values[], assuming no alpha_increments. */ @@ -76,17 +76,6 @@ private: /* Find good _alpha_inc[]. */ void find_alpha_inc (); - void prepare (); - - /* Returns the length of keyword list. */ - int keyword_list_length () const; - - /* Returns the maximum length of keywords. */ - int max_key_length () const; - - /* Returns the number of key positions. */ - int get_max_keysig_size () const; - /* Initializes the asso_values[] related parameters. */ void prepare_asso_values (); @@ -136,6 +125,9 @@ public: upper case characters to lower case characters (and maybe more). */ unsigned int * _alpha_unify; + /* Maximum _selchars_length over all keywords. */ + unsigned int _max_selchars_length; + /* Total number of duplicates that have been moved to _duplicate_link lists (not counting their representatives which stay on the main list). */ int _total_duplicates; |