1. In a computer system, a method for increasing the execution speed of virtual machine instructions, the method comprising: inputting virtual machine instructions for a function; and compiling a portion of the function into at least one native machine instruction so that the function includes both virtual and native machine instructions.