Re: gtk+ speed



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]