aboutsummaryrefslogtreecommitdiff
path: root/docs/genrefman.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-07-03 11:11:49 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-07-19 18:31:37 -0400
commitcff2fb5950cb37b01df5046cc256826449b3abaa (patch)
tree928d6dfad9e9b14794ab73c5219b4b863116ef2b /docs/genrefman.py
parent7afc69254d6b7240406cb1112ab57355bd9d32cd (diff)
downloadmeson-cff2fb5950cb37b01df5046cc256826449b3abaa.zip
meson-cff2fb5950cb37b01df5046cc256826449b3abaa.tar.gz
meson-cff2fb5950cb37b01df5046cc256826449b3abaa.tar.bz2
avoid module indirection in name resolution for imported objects
We already import a bunch of objects directly from ..build but don't use them nearly as much as we can. This resulted both in longer lines and s minor performance difference since python has to resolve the name binding the long way. There's no reason not to rewrite these names to use the direct imports. Found while investigating the fact that Executable was imported but never used. It's easier to just use it.
Diffstat (limited to 'docs/genrefman.py')
0 files changed, 0 insertions, 0 deletions