diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-04-17 14:43:06 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-04-17 15:13:31 +0200 |
| commit | a47615f06ad7e4d84ca1ab01db0520ef5f30010c (patch) | |
| tree | 76ce54be19e30eaa32bf74b42da1bbabbe9519c3 /makefile.patch | |
| parent | e4f268157254df1ef361763bcfdf0258818fa53d (diff) | |
menuconfig: Prune _shown_nodes() recursion
When looking for visible children of invisible symbol nodes,
_shown_nodes() was always recursing all the way out the leaf nodes.
That's a ton of redundant work, though it doesn't seem to have lead to
noticeable slowness (it does in the GUI menuconfig).
Stop the search at symbol nodes with node.dep = n (from
'if'/'depends on'). Those can never have visible children, because
node.dep gets propagated to prompts.
Diffstat (limited to 'makefile.patch')
0 files changed, 0 insertions, 0 deletions
