Minor extension to libiberty hash table routines

Ian Lance Taylor ian@wasabisystems.com
Fri Apr 9 20:06:00 GMT 2004


law@redhat.com writes:

> I would like to add a new entry point into the hash table routines
> htab_remove_elt_with_hash, which works the same as htab_remove_elt, except
> that it accepts and uses a precomputed hash value.
> 
> This is similar in concept to the existing htab_find_slot and
> htab_find_slot_with_hash.
> 
> Thoughts/comments?

Looks good to me.

Ian



More information about the Gcc-patches mailing list