-
Colin Walters authored
In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads. https://bugzilla.gnome.org/show_bug.cgi?id=678576
991d07d6