performance: implement jump table for switch statement #17690
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
closed-obsolete
Closed as the reported issue is no longer relevant
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by @tatumizer
Dart doesn't generate jump table for simple switch statement like
switch(n) {
case 0:
...
case 1:
...
...
case 5:
...
}
CMP commands are issued instead.
You are certainly aware of it, but I couldn't find an "issue".
The text was updated successfully, but these errors were encountered: