Home > GNOME > g_object_notify_by_pspec()

g_object_notify_by_pspec()

September 28th, 2010 Leave a comment Go to comments

Now that GLib 2.26.0 is out, it’s time to talk about a little patch to GObject I’ve written (well, the original idea was born while looking at it with Neil): add a new g_object_notify_by_pspec() symbol to GObject. As shown in the bug it can improve the notification of GObject properties by 10-15% (the test case tested was without any handler connected to the notify signal).

If you can depend on GLib 2.26, consider using it!

Categories: GNOME
  1. No comments yet.
  1. No trackbacks yet.