We all know that the branch maybe flush the instruct pipeline, how about the function call especially in case from a pointer ?
This question go to my head when I read the part of VM from Lua source code, and did not found something like function lookup table to exectute the instructs instead of using if-cond. Although it's on level difference of instruct execution, why not designs the VM using function lookup table ?