gobject: Use fast fundamental instance type check
authorEdward Hervey <edward@collabora.com>
Wed, 28 May 2014 08:59:14 +0000 (10:59 +0200)
committerRyan Lortie <desrt@desrt.ca>
Sat, 31 May 2014 13:46:21 +0000 (15:46 +0200)
commitfaceb8960bf5a623a1af4ac876c964daa8fbab42
tree7c782c2943ecd0fd23ca76aefd8383b728976738
parent6072e3650fba8ff57b5c3f135f81488c83f27f0b
gobject: Use fast fundamental instance type check

Speeds up g_object_ref/_unref by 50%-65% (i.e. takes 60-65% of the time
it used to take).

https://bugzilla.gnome.org/show_bug.cgi?id=730984
gobject/gobject.h