taglist: avoid pointless tag name -> quark lookups
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 00:46:22 +0000 (01:46 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 09:26:52 +0000 (09:26 +0000)
commit911c078c2bb1fbd2597e72efdefc2d3cdd3fc2d0
tree0a53084d1832d07144139dd1d0ab45f001bc2bca
parentcdade325aec7477ca7af8e7869630b20c739c77d
taglist: avoid pointless tag name -> quark lookups

We never get a tag name quark from a caller, it's always a
string, from which we'll try to look up our tag info in the
hash table, so change the hash table key from quark to string.
Avoids a bunch of pointless string => quark lookup in the
global quark table. We need to do an extra string => quark
conversion now when we copy a taglist, but in that case we're
in a slow path anyway.
gst/gsttaglist.c