https://kotlinlang.org logo
Title
g

gregd

07/04/2017, 8:18 AM
Hi all :kotlin:. Does anyone know if there’s any significant performance impact, when importing members of very large classes with a wildcard (e.g.
io.reactivex.Observable.*
which is huge) ? I usually try to import members separately. But I see that by default Android Studio switches automatically to
*
if there are 2+ imports from the same class
k

karelpeeters

07/04/2017, 8:23 AM
You can also change the threshold for the amount of wildcard imports in the code style settings, or you can disable them alltogether.
g

gregd

07/04/2017, 8:24 AM
Yeah, I know. That’s what I did. But I’m just curious about all possible consequences
How about compile time impact, or something similar?