-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
Currently we emit an import stub for every item in an imported module tree.
This is wasteful. Most imported items are never going to be referenced by most
compilation units that reference them; there's no need to form import stubs for
the unreferenced ones.
Fixing this is a matter of a small table in semant full of 'node->referenced'
flags noted while resolving.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.