diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-04 20:38:24 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-04 21:08:53 +0100 |
| commit | de62a805582d804ab655a249e8ebdf1fe8c7c4fd (patch) | |
| tree | add940a66c0054b852c25fed7209bf8d8decb877 /examples | |
| parent | 419f1bc50a04500761290d27c050996f9ba39e94 (diff) | |
Optimize tri_value() a bit
- Detect a 0 weak reverse dependency earlier. Being implied is
rare, and the direct deps don't need to be calculated for symbols
that aren't.
Bit cleaner too, and closer to the rev. dep code.
Shaves a few % off the time spent in tri_value() while writing a
.config.
- Look at the symbol's visibility to determine the choice mode instead
of going to the choice itself. Works since the mode acts as an upper
bound on the visibility of choice symbols. No detectable performance
difference, but a bit cleaner anyway.
Piggyback some nits.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
