miha-x64
12/30/2016, 12:08 PMval
in class
gets read with getfield
,
val
and const val
from companion
— with getstatic,
private const val
— via synthetic accessor,
so there is positive memory impact of writing constants in companion, but no inlining