diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-12 13:13:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-12 13:13:06 +0200 |
commit | 50a7aa6fb34dca587f487289b35feba392ff5b6b (patch) | |
tree | bc202af5beb124f59d56221827745cf4ae411e49 /scripts/parse_kconfig | |
parent | 637cd1f56a0d6d6fcd73781941dce92dd67951cb (diff) | |
download | linux-conf-perf-50a7aa6fb34dca587f487289b35feba392ff5b6b.tar.gz linux-conf-perf-50a7aa6fb34dca587f487289b35feba392ff5b6b.tar.bz2 linux-conf-perf-50a7aa6fb34dca587f487289b35feba392ff5b6b.zip |
Add TODO information to code that there should be faster implementation
Diffstat (limited to 'scripts/parse_kconfig')
-rw-r--r-- | scripts/parse_kconfig/symlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |