1. A method of compiling a source file, comprising: identifying a segment of code in a first source file of high-level source code as a potential optimization opportunity; identifying a compilation record storing data indicating that the segment of code is an actual optimization opportunity, wherein the data is based on a previous compilation of a second source file; and generating a representation of the high-level source code in accordance with the actual optimization opportunity.