1. A method, comprising: scanning virtual code having at least one function; determining whether the at least one function exceeds a first predetermined threshold during said scan; if the at least one function exceeds the first predetermined threshold, precompiling the function; and performing a just-in-time translation of the virtual code.