diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-08 21:10:34 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-08 21:10:34 +0100 |
| commit | 41c039187b27989fb6bd5f4ba0584ae14fcc0345 (patch) | |
| tree | 464f72d0024894f944def3757b85b476ba4ccb16 /kconfiglib.py | |
| parent | c38e5f38fcc0264c9d63a544cfdd8bcf6d8fec6c (diff) | |
Add _get_dependent() note.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 1337811..1000be9 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2937,6 +2937,10 @@ class Symbol(Item, _HasVisibility): if self.cached_deps is not None: return self.cached_deps + # TODO: This still recalculates a lot. Should use a recursive + # _get_dependent() call to make best use of caching. Make sure to get + # it right w.r.t. choices. + # Calculate using a set to avoid duplicates in the result res = set() |
