Optimize single-handler va_marshaller case
authorAlexander Larsson <alexl@redhat.com>
Wed, 22 Feb 2012 18:36:05 +0000 (19:36 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 2 Mar 2012 16:13:03 +0000 (17:13 +0100)
commitf02ec2f2de3c9863da36be951662ddf4080adfaa
tree96b7e3f9b198d140ee078e9ea2c336a37c17c182
parenta3e91088ce40ed201cfe1514b0adb252394027b1
Optimize single-handler va_marshaller case

When there is only one closure handling a signal emission and
it doesn't have a bunch of complicated features enabled we
can short circuit the va_args collection into GValues and call the
callback via the va_marshaller directly.

https://bugzilla.gnome.org/show_bug.cgi?id=661140
gobject/gsignal.c
gobject/gvaluecollector.h