https://kotlinlang.org logo
#random
Title
r

robstoll

10/01/2019, 9:41 AM
does kotlin optimise multiple
val
property accesses (properties which do not use
get
) within a function? Not that I am concerned that it has any impact on performance, I am just curious. When I use the bytecode viewer it does not look like it.
d

Dominaezzz

10/01/2019, 9:52 AM
Kotlin (almost certainly) doesn't. JVM (almost certainly) does.
1
r

robstoll

10/01/2019, 9:53 AM
you mean JIT will?
d

Dominaezzz

10/01/2019, 10:23 AM
almost certainly
😂 1
2 Views