3 ms·
> imports are all implicitly module-scoped, meaning that changing a single file means recomputing the types for all files in the module i've noticed this too..
by andrekandre 9mo ago
> imports are all implicitly module-scoped, meaning that changing a single file means recomputing the types for all files in the module
i've noticed this too... i wonder if doing scoped importing helps with this for example:
import struct MyModule.MyStruct
- JackYoustra 9mo agoiirc you can't do this for extensions which being a huge amount of compiler constraint resolution time
- andrekandre 9mo agointeresting, so maybe a good recommendation would be to not go overboard with too many public extensions... hmm...