Branch: refs/heads/document-messages Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 31 May 2012 19:58:08 Commit: 6f62a55370f629a051184799341498841e2dbb15 https://github.com/geany/geany/commit/6f62a55370f629a051184799341498841e2dbb...
Log Message: ----------- g_slist_prepend() is faster than _append() and the order doesn't matter
Modified Paths: -------------- src/symbols.c
Modified: src/symbols.c 4 files changed, 1 insertions(+), 3 deletions(-) =================================================================== @@ -1824,9 +1824,7 @@ static void detect_tag_files(const GSList *file_list) g_free(utf8_fname);
if (FILETYPE_ID(ft) != GEANY_FILETYPES_NONE) - { - ft->priv->tag_files = g_slist_append(ft->priv->tag_files, fname); - } + ft->priv->tag_files = g_slist_prepend(ft->priv->tag_files, fname); else geany_debug("Unknown filetype for file '%s'.", fname); }
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).