摘要 |
A method and article of manufacture for providing a balanced tradeoff between size of a single binary file and performance of that binary on various computer architectures of a wide range of computer platforms. The invention includes identifying performance critical source code and complementary source code having less performance criticality than the performance critical source code. The performance critical source code is compiled so as to generate performance critical object code for a first computer architecture, or an additional plurality of computer architectures as desired. The complementary source code is compiled so as to generate complementary object code for a particular computer architecture, selected as a generic computer architecture, which is different than at least one of the plurality of computer architectures. Subsequent storage on a computer usable medium such as a floppy disk provides for convenient distribution of computer readable program code, preferably embodied in a single architecture independent executable binary file that includes the performance critical object code for the plurality of computer architectures, as well as the complementary object code. The complementary object code has less performance criticality than the performance critical object code so as to reduce overall performance effects of subsequent translation of the complementary code to any desired computer architecture.
|