`&` becomes `and`, `|` becomes `or` and `<&...
# announcements
d
&
becomes
and
,
|
becomes
or
and
<<
becomes
shl
. Bit manipulation is highly suboptimal in Kotlin at the moment, sadly.
d
diesieben07: what you mean by "suboptimal" is there sth different implementation than Java does with bit operations?
d
No, the produced class files are the same, the Kotlin functions map down to the raw bitwise operations. It's just not really nice in the code in my opinion.