Don't freeze/thaw notification during construction if no properties
authorAlexander Larsson <alexl@redhat.com>
Wed, 19 Aug 2009 15:22:32 +0000 (17:22 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 2 Oct 2009 19:02:48 +0000 (21:02 +0200)
commitffc625ec9bcc4b2d34921940c07b28d244f2257a
treea189863d209fff20b1f18ed5a01a1837930b35db
parent302d13a757c164346883841ce040208906894b71
Don't freeze/thaw notification during construction if no properties

If the class has no properties there could be no notification anyway.
This is an important optimization for construction of simple objects.

Object construction performance improvement:
         Non-Threaded   Threaded
Simple:           84%        91%
Complex:        -1.4%      -0.6%

Other tests stable.

https://bugzilla.gnome.org/show_bug.cgi?id=557100
gobject/gobject.c