codebrainz commented on this pull request.
* but not a problem in practice yet */
foreach_list(node, active_proxies.head) { PluginProxy *proxy = node->data; - if (utils_str_casecmp(ext, proxy->extension) == 0) + if (g_pattern_match(proxy->glob, strlen(file), file, NULL))
Sounds like a reasonable optimization.