From 865308c5d6e7287739198a82fe531f1eecb03e7c Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 27 Mar 2008 13:18:15 +0000 Subject: [PATCH] Add note about possibly using bsearch in symbols_find_tm_tag(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2419 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/symbols.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/symbols.c b/src/symbols.c index edddff7e..5ac0a73f 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -282,6 +282,7 @@ GString *symbols_get_macro_list(void) } +/* Note: if tags is sorted, we can use bsearch or tm_tags_find() to speed this up. */ static TMTag * symbols_find_tm_tag(const GPtrArray *tags, const gchar *tag_name) {