Re: hash tables




Timo Sirainen <aaaaaa@sicom.fi> writes:

> What's the best way to clear whole hash table? .._destroy() and create it
> again? Any other ways?

Yes. No.

I suspect a g_hash_table_clear() would not be that much more efficient
than just destroying it and starting over from scratch, anyways.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]