]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/hashtab.c
hashtab.c (htab_expand): Compute the size of hashtable based on the number of element...
authorJan Hubicka <jh@suse.cz>
Wed, 12 Mar 2003 14:15:09 +0000 (15:15 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 12 Mar 2003 14:15:09 +0000 (14:15 +0000)
commit0a8e3de3c825de0edac26dc0875e823b1b9d6e9b
tree185c9ce9c769ea7a3f9729796fff47cc59493df1
parent32cf27e58ed0e95c54c2c2f29ed8130df55f843f
hashtab.c (htab_expand): Compute the size of hashtable based on the number of elements actually used.

* hashtab.c (htab_expand): Compute the size of hashtable based
on the number of elements actually used.
(htab_traverse):  Call htab_expand when table is too empty.

From-SVN: r64246
libiberty/ChangeLog
libiberty/hashtab.c