在 2008-01-23三的 22:09 -0500,Matthias Clasen写道:
> On Jan 23, 2008 9:54 PM, Bin Chen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > In glib there is a primitive named quark, it relates a ID with a
> > string, but whats the advantage for this? Can we use a string instead,
> > just to save some bytes for duplicated strings?
> 
> It has the same advantages as string interning in any other
> language...

Can you give me an example for this?

Bin

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to