Johann Pardanaud
07/07/2023, 9:37 AMShort
instead of Int
? When writing this code:
val foo: Short = 36
I get the following JVM bytecode:
BIPUSH 36
ISTORE 0
But bipush stores integers, so is there any advantages to use Short
? Maybe with the native target?marstran
07/07/2023, 9:56 AMephemient
07/07/2023, 10:01 AMephemient
07/07/2023, 10:03 AMephemient
07/07/2023, 10:06 AMCLOVIS
07/07/2023, 12:08 PMJohann Pardanaud
07/07/2023, 1:28 PM