mutter/clutter
Christian Hergert 1ac23d298a clutter: remove string copies from paint node names
When creating paint nodes, various names are attached to the node to
simplify debugging. These strings are g_strdup()d and g_free()d quite
frequently. For example, a minute of GNOME Shell use resulted in
nearly .5 MiB of string duplications and frees.

All uses within the code-base have access to a static string, so we can
just use that instead and take the hit of g_intern_string() for any
extensions that would be using the existing clutter_paint_node_set_name()
API for backwards compatibility.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1081
2020-02-21 14:24:14 -08:00
..
clutter clutter: remove string copies from paint node names 2020-02-21 14:24:14 -08:00
.gitignore clutter: Remove clutter specific version 2018-11-06 17:17:36 +01:00
meson.build clutter: Move tests to src/tests 2019-08-24 08:59:08 +00:00