Re: gtk+ speed
- From: Sven Neumann <sven gimp org>
- To: Alberto Garcia <agarcia igalia com>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk+ speed
- Date: Mon, 22 Dec 2008 19:54:59 +0100
Hi,
On Mon, 2008-12-22 at 16:44 +0100, Alberto Garcia 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.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]