Edoardo Luppi
12/05/2023, 2:53 PM!!
) without having the compiler generate checks?
I have A LOT of them in some generated code unfortunately, and I don't want the performance penalty, especially in non-JVM platforms.kevin.cianfarini
12/05/2023, 3:01 PMunsafeCast
which does what you want. On native there’s reinterpret
but that’s restricted to pointer types.CLOVIS
12/05/2023, 3:04 PMnull
is one of the most basic computer operationsEdoardo Luppi
12/05/2023, 3:05 PMEdoardo Luppi
12/05/2023, 3:32 PMEdoardo Luppi
12/05/2023, 3:33 PMzsmb
12/05/2023, 3:40 PMEdoardo Luppi
12/05/2023, 3:42 PMzsmb
12/05/2023, 3:44 PMEdoardo Luppi
12/05/2023, 3:45 PMEdoardo Luppi
12/05/2023, 4:05 PM