Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jlajsdofwwfds
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
jlajsdofwwfds
4y ago
Isn't this essentially comparing switch/jmp table to a vtable? The switch/jmp table can be optimized to be inline, vtable will likely incur a stack frame, plus usually 3 indirections. When you have a closed set of types, then