gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 7 Jul 2006 17:16:26 +0000 (17:16 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 7 Jul 2006 17:16:26 +0000 (17:16 +0000)
commitea60952f0605fa8c29187455117f1f74daaa88b8
tree05338e0b1229cabb1cf9e0277fbf40eff84a29a5
parent99f16655f4cfbc8e06b5972417ba11279083a64e
gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp i...

Original commit message from CVS:
* gst/gstobject.c: (gst_object_set_name_default),
(gst_object_set_name):
Random micro-optimisation: don't use a hash table
with strings as keys and the usual strdup/strcmp
involved, but rather just use the GQuark of the
type name as key, since it needs to be looked up
anyway to get the type name string.
* tests/check/gst/gstobject.c: (GST_START_TEST):
Fix various leaks.
ChangeLog
gst/gstobject.c
tests/check/gst/gstobject.c