]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Add TODO information to code that there should be faster implementation
authorKarel Kočí <cynerd@email.cz>
Sun, 12 Apr 2015 11:13:06 +0000 (13:13 +0200)
committerKarel Kočí <cynerd@email.cz>
Sun, 12 Apr 2015 11:13:06 +0000 (13:13 +0200)
scripts/parse_kconfig/symlist.c

index 5423163f5dfe4e8c0070211f09730e86c87e84a3..64355413325327d56c317bd7a82db0dd0ae055b1 100644 (file)
@@ -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) {