3 ms·
Scala's Somes cost an object as well, though (I believe) None is free in both Java and Scala.
by Nullabillity 10y ago
Scala's Somes cost an object as well, though (I believe) None is free in both Java and Scala.
- lern_too_spel 10y agoYou're right. Some is not an AnyVal.