Re: Any comments on priority queue patch (Bug #107182)



Hi,

On Mon, 2003-03-03 at 16:38, Owen Taylor wrote:

[snip]

>  * We haven't been that friendly to new data structures
>    recently; the experience is that G[S]List, GArray,
>    GHashTable work pretty well for a wide set of things,
>    and the rest of GLib's data structures tends not
>    to used (GRel anyone?)

Well, I used GRelation to implement a mapping between a GType and an
arbitrary string in GdlDock (gdl module, gdl/gdl-dock-object.c).  I
don't know if it's efficient or if there is some other better way to do
that, but at that moment it seemed just what I needed.  But AFAIR I
couldn't find a use example.

Cheers,
Gustavo





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