3 ms·
If you want a deep-dive into the bytecode, there's a great article at: https://medium.com/@nataliiadziubenko/java-20-pattern-matching-for-switch-whats-under-th
by gavinray 3y ago
If you want a deep-dive into the bytecode, there's a great article at:
https://medium.com/@nataliiadziubenko/java-20-pattern-matching-for-switch-whats-under-the-hood-223a109f5e2f https://medium.com/@nataliiadziubenko/java-20-pattern-matchi...
The tl;dr = no new intrinsics (for now), it uses table-switches and invokedynamic