Scala During the compilation process, there are only complex and powerful types (*): they are analyzed from the source (where you give them), displayed, checked, and then finally discarded. The latter may sound pointless, but it is the modus operandi JVM (see type erasure ) and is very useful from the point of view of language designers.
So, in order to answer your question: at runtime, it does not matter whether this type has been explicitly specified or deduced, the difference is how long it takes to compile the program.
(*) In release 2.10, a reflection library will appear that allows the program to access its type of information also at runtime; this gives additional freedom, which when used will, of course, record processor cycles at runtime, but does not change any of the above points.
Roland Kuhn
source share