optimisation : Use g_object_newv where possible.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 28 Oct 2009 08:26:32 +0000 (09:26 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 28 Oct 2009 08:31:17 +0000 (09:31 +0100)
commit27284628e4123e85ae9719f0a2376a221940ae55
tree722f9920935f9b5c501a71c50bb24fc65bea757c
parent118509af69be75c575a23838e1f9fe39eade31f9
optimisation : Use g_object_newv where possible.

This avoids:
* triple-checking for the GType when type-checking is enabled (see #597260)
* Avoids going through an expensive no-argument checking which landed in
  glib-2.22
* Avoids going through 2 extrac functions (g_object_new -> g_object_new_valist)
19 files changed:
gst/gstbus.c
gst/gstelementfactory.c
gst/gstindex.c
gst/gstindexfactory.c
gst/gstobject.c
gst/gstplugin.c
gst/gstpluginloader.c
gst/gstregistry.c
gst/gstregistrychunks.c
gst/gsttask.c
gst/gsttaskpool.c
gst/gsttypefind.c
gst/gstxml.c
libs/gst/base/gstadapter.c
libs/gst/base/gstcollectpads.c
libs/gst/base/gstdataqueue.c
libs/gst/controller/gstcontroller.c
libs/gst/controller/gstinterpolationcontrolsource.c
libs/gst/controller/gstlfocontrolsource.c