juliocbcotta
04/26/2019, 2:45 PMconst val instead of val in a companion object triggers any compilation/bytecode optimisation ?Shawn
04/26/2019, 2:45 PMShawn
04/26/2019, 2:47 PMconst val you’ll see that the compiler inserts the value (inlines) where the variable is used, kinda almost like a C macro if you’re familiarShawn
04/26/2019, 2:47 PMjuliocbcotta
04/26/2019, 2:51 PMgildor
04/26/2019, 3:00 PMjuliocbcotta
04/26/2019, 4:31 PMconst val?karelpeeters
04/26/2019, 10:08 PMgildor
04/27/2019, 1:53 AM