Re: gtk+ speed
- From: Alberto Garcia <agarcia igalia com>
- To: Sven Neumann <sven gimp org>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk+ speed
- Date: Mon, 22 Dec 2008 20:06:15 +0100
On Mon, Dec 22, 2008 at 07:54:59PM +0100, Sven Neumann wrote:
> > However, there is a performance problem with private attributes
> > (if you use g_type_class_add_private()) that don't exist in other
> > languages, as GObject's g_type_instance_get_private() can be
> > noticeably slow.
>
> That can easily be optimized away by keeping an opaque pointer to
> the private struct in your public object struct.
That is explained in the links I left right after the paragraph you
quoted :)
--
Alberto García González
http://people.igalia.com/berto/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]