1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Renamings and small reorganizations.

This commit is contained in:
Bruno Haible
2003-04-09 10:24:59 +00:00
parent 3bdad49e79
commit bfefa088aa
3 changed files with 34 additions and 57 deletions

View File

@@ -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;