Re: hash table freeze is useless
- From: Havoc Pennington <hp redhat com>
- To: gtk-devel-list redhat com
- Subject: Re: hash table freeze is useless
- Date: Fri, 5 Nov 1999 17:25:19 -0500 (EST)
On Fri, 5 Nov 1999, David Benson wrote:
>
> I believe the intent is so you can freeze a hashtable that is
> large, delete half the items, insert a bunch of new items
> without resizing the table extraneously.
>
Ah yes, it works for that. I do think the function is intended (or at
least documented) to work in the case where the table was not already
large, however. And even in the above case it breaks if you insert more
items than you delete.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]