tracers: leaks: delay type name lookup
authorTim-Philipp Müller <tim@centricular.com>
Wed, 3 Aug 2022 11:32:24 +0000 (12:32 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 4 Aug 2022 10:55:53 +0000 (11:55 +0100)
commit27d18f35e55d2fcac1f56af459e95f13cc29daeb
tree7e4cd1df16a5f6054b5773d6d0c60d130f9832f8
parent75bdd2b7eb0f3a3308a0ec087c39e433be85b784
tracers: leaks: delay type name lookup

Micro optimisation: Store the quark of the type name when tracking
objects and only do the quark to string conversion (hashtable lookup)
later when we actually need the string.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2832>
subprojects/gstreamer/plugins/tracers/gstleaks.c