1. A computer implemented method comprising the steps of: translating with a computing device at least one line of source code representing a function to byte-codes representing the function; performing a first analysis of the byte-codes using the computing device to select a subsequence of the byte-codes based on at least one property of at least one variable referenced by the subsequence of byte-codes, the at least one property including a shape of the at least one variable; performing a second analysis of the subsequence using the computing device to analyze a usage pattern of the at least one variable used by the subsequence, the second analysis examining at least one dynamic run-time property of the at least one variable used in the subsequence to determine whether the usage pattern of the at least one variable indicates that the at least one variable is suitable for processing by a compiler; shortening the subsequence using the computing device based on the second analysis to exclude at least one byte-code referencing a variable identified as unsuitable for processing by the compiler; generating processor instructions in the compiler for the shortened subsequence, the generating using the computing device; and generating alternate byte-codes in an accelerated interpreter executing on the computing device for at least a portion of the byte-codes not contained in the shortened subsequence.