Import can affect compile time, but not load time or runtime. Basically, if you import classes that you donโt need (usually by importing wildcards when explicit imports will be performed), you can slow down the compiler a bit.
However, even this effect is usually trivial if you do not compile a huge system.
Joe carnahan
source share