Re: [gtkmm] The role of glibmm
- From: Murray Cumming <murrayc murrayc com>
- To: SilvioCVdeAlmeida <scvalmei graaph arq br>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] The role of glibmm
- Date: Sun, 07 Mar 2004 14:18:20 +0100
On Sat, 2004-03-06 at 23:57, SilvioCVdeAlmeida wrote:
> Murray Cumming wrote:
> >
> > glib generally doesn't wrap things that are already
> > present in Standard C++, such as basic data structures.
>
> OK, that's the point!
>
> > I don't think anybody has tried it, and I don't even
> > know what a glib "Keyed Data List" is. It sounds a bit
> > like a std::map<>.
>
> It is std::map plus GQuark, an int=>char* association for
> memory saving on key names.
This sounds like optimisation, and I think that's the job of std::map<>.
And if you don't have an actual performance problem to solve then I
wouldn't worry about it.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]