Lua allocates stacks dynamically. This means that the VM cannot assume that the base pointer in a function is stable while the function is executing as the base may change due to reallocation. Perhaps by creating pre-allocated stacks of fixed size we can avoid this inefficiency - this will particularly help JIT implementation as we will not have to rely upon LLVM to remove redundant updates to the base pointer.
Lua allocates stacks dynamically. This means that the VM cannot assume that the base pointer in a function is stable while the function is executing as the base may change due to reallocation. Perhaps by creating pre-allocated stacks of fixed size we can avoid this inefficiency - this will particularly help JIT implementation as we will not have to rely upon LLVM to remove redundant updates to the base pointer.