<br><div><includetail><div style="font:Verdana normal 14px;color:#000;"> <br><div> </div>On 26/12/2011 12:51, zhang wrote:<br><snip><br>> > The compiler should do this. A package is a directory, and a module just a file.<br>> > When importing a package, the compiler will import all the modules in the package.<br>> > The user doesn't care about this.<br>> The user may well care if he/she is compiling someone else's project <br>> that imports the whole of some huge library despite using only a little <br>> bit of it, and this greatly increases the time it takes to compile. <br>> Both because of the time it takes to load the modules and because of <br>> having a larger symbol table to look through to resolve symbols as and <br>> when they are used.<br>> Moreover, there may be modules that are intended primarily for a <br>> library's internal use, which would get imported and thereby clutter the <br>> symbol table.<br>> Stewart.<br><br>It's just a extended function for compiler to do batch importing. We still can import the modules one bye one, if really caring about the compiling speed. We need another more choice.<br></div></includetail></div>