On 3/30/07, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> Neil Conway escribió:
>
> > As to the implementation, calling hash_remove() in a loop seems a pretty
> > unfortunate way to clear a hash table -- adding a hash_reset() function
> > to the dynahash API would be cleaner and faster.
>
> I wonder why hash_drop cannot be used?
hash_destroy()? Each element need separate destruction.
--
marko