主权项 |
1. A method, comprising:
parsing, on a plurality of processors, a source code file into a plurality of functions; ranking, on the plurality of processors, each particular function of the plurality of functions based upon an order of occurrence of each particular function in the source code file; generating, on the plurality of processors, a weight score for each function of the plurality of functions, wherein the weight score of each particular function corresponds to whether or not the particular function is called conditionally; and generating, on the plurality of processors, an object code file such that the plurality of functions are ordered in the object code file based upon the corresponding rankings and weight scores such that page faults are minimized with respect to an executable file generated from the object code file. |