Right now all potential imports are visited when walking references. However when we have selective imports we can better decide if we even need to walk the selective import at all.
This should seriously increase performance.
[ ] only go through selective imports that are important for the current reference search
[ ] support renamed selective imports in reference search (right now the renamed symbols are not included in the reference search, only the rename definition, but the usage of the renamed symbol is interesting as well)
Right now all potential imports are visited when walking references. However when we have selective imports we can better decide if we even need to walk the selective import at all.
This should seriously increase performance.