


GPERF(1)                                                 GPERF(1)


NNAAMMEE
       gperf - generate a perfect hash function from a key set

SSYYNNOOPPSSIISS
       ggppeerrff [ --aaddgghhiijjkkllnnoopprrssSSttvv ] [ _k_e_y_f_i_l_e ]

DDEESSCCRRIIPPTTIIOONN
       _g_p_e_r_f  reads  a  set  of  ``keys''  from  _k_e_y_f_i_l_e  (or, by
       default, from the standard input) and attempts to  find  a
       non-minimal  perfect  hashing  function  that recognizes a
       member of the key set in constant, i.e., O(1),  time.   If
       such a function is found the program generates a pair of _C
       source code routines that perform the  hashing  and  table
       lookup.   All  generated  code is directed to the standard
       output.

       Please refer to the _g_p_e_r_f_._t_e_x_i_n_f_o file for  more  informa-
       tion.  This file is distributed with _g_p_e_r_f release.







































                        December 16, 1988                       1


