-
Matthias Clasen authored
gtk_widget_path_copy() currently calls g_array_append_val() in a loop, which is inefficient due to reallocating the array's memory. Calling g_array_set_size() before entering the loop reduces the number of CPU cycles used by roughly 30%. Patch by John Lindgren, https://bugzilla.gnome.org/show_bug.cgi?id=679978
f89d5c82