Re: glib 1.2 patch.
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: gtk-devel-list redhat com
- Subject: Re: glib 1.2 patch.
- Date: Fri, 9 Apr 1999 12:30:47 -0500
> The only for an application to add a node to a hash table
> is g_hash_table_insert (). g_hash_table_insert () sets
> the key and value fields. This just seems like a waste
> of (tiny amounts of) CPU cycles to me.
Morten uses Purify extensively to check our applications.
Since the node is never actually released but put on the free list, as
far as purify is concerned the data kept on the hash table is valid,
and makes harder to debug leaks (ie, you might leak but purify wont
catch this since there is still a reference to it).
Best wishes,
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]