From 50a7aa6fb34dca587f487289b35feba392ff5b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 12 Apr 2015 13:13:06 +0200 Subject: Add TODO information to code that there should be faster implementation --- scripts/parse_kconfig/symlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/parse_kconfig/symlist.c') diff --git a/scripts/parse_kconfig/symlist.c b/scripts/parse_kconfig/symlist.c index 5423163..6435541 100644 --- a/scripts/parse_kconfig/symlist.c +++ b/scripts/parse_kconfig/symlist.c @@ -21,6 +21,7 @@ void symlist_add(struct symlist *sl, char *name) { sl->pos++; } +// TODO faster implementation? Maybe binary search tree? struct symlist_el *symlist_find(struct symlist *sl, char *name) { int i = 0; while (i < sl->pos) { -- cgit v1.2.3