GHashTable: Small optimization of remove-all
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2011 04:03:59 +0000 (00:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2011 04:03:59 +0000 (00:03 -0400)
commitd3b80c49ea257d02838099e05e315a2407e664b9
tree165225e3d234e09a344648c8ba1972ec804bd517
parentfc7403b675d29574568a79401c864298e8730413
GHashTable: Small optimization of remove-all

Don't enter the loop if we are not going to notify anyway.
Pointed out in bug 646013.
glib/ghash.c