You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JEP 361 introduced switch expressions. Since we are planning to update to a newer JDK at an unspecified future I hope we can figure out if this is in any way useful to use for example for some bytecode optimization.
And if we can actually use them or whether it will be impossible for us.
The text was updated successfully, but these errors were encountered:
It can't match with null for now, IIRC, there is an new bytecode for type matching, seems slower when the cases are small.
I could like to have scala pattern matching support on Java's record.
JEP 361 introduced switch expressions. Since we are planning to update to a newer JDK at an unspecified future I hope we can figure out if this is in any way useful to use for example for some bytecode optimization.
And if we can actually use them or whether it will be impossible for us.
The text was updated successfully, but these errors were encountered: