Introduce g_object_notify_by_pspec()
authorDamien Lespiau <damien.lespiau@gmail.com>
Sat, 10 Apr 2010 14:50:40 +0000 (15:50 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 15 Jun 2010 09:51:36 +0000 (10:51 +0100)
commitf3879a4bdca2ff1cf6c6b016d67a7e5d40c0e86b
tree168f518131413072d0e36fcee0d196f7306affa4
parent08f473ffeff7524e619dc0459c07a981a3b4285c
Introduce g_object_notify_by_pspec()

g_object_notify_by_pspec() will emit the "notify" signal on the given
pspec, short-circuiting the hash table lookup needed by
g_object_notify(). The suggested and documented way of using
g_object_notify_by_pspec() is similar to the way of emitting signals
with their ID.

Emission tests (with no handler attached to the notify signal) show a
10-15% speedup over using g_object_notify().

https://bugzilla.gnome.org/show_bug.cgi?id=615425
docs/reference/gobject/gobject-sections.txt
gobject/gobject.c
gobject/gobject.h
gobject/gobject.symbols