diff options
author | Aleksey Kladov <[email protected]> | 2021-06-22 19:22:36 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-22 19:26:07 +0100 |
commit | 7be2d2f008595114e19aad0aa0608ddedfe3edf7 (patch) | |
tree | 61b75baa49f6b88c24fbda5f44ac734fed1f7d98 /bench_data | |
parent | 9239943b84ec2bd687c4c80d2c3a0df4f8caf31c (diff) |
internal: remove one more accidentally quadratic code-path
Definition::visibility was implemented in a rather roundabout way -- by
asking the parent module about the effective visibility.
This is problematic for a couple of reasons:
* first, it doesn't work for local items
* second, asking module about visibility of a child is a linear
operation (that's a problem in itself, tracked in #9378)
Instead, lets ask the declared visibility directly, we have all the code
for it, and need only to actually us it.
Diffstat (limited to 'bench_data')
0 files changed, 0 insertions, 0 deletions