David Griswold wrote:
If you have to recompile all the perf. critical code everytime the system starts up, all this might mean very slow startup, and noticeable pauses for compilations thereafter. But one way to get around all of this might be to keep the compiled code in ObjectMemory and save it with the image, in which case you could start the system in an already optimized state (complicates image portability, but worth it). In this case, people would generally want to do 'training' runs of their code to get them mostly optimized, and then save the image. Compilation then becomes a fairly rare thing after training is done.
Would it also be possible to simply tell the system to compile everything? Thus, eliminating the need to do 'training' runs and achieve maximum performance?
- Stephen