> > well ... I'm not going to get into a compiler holy > war but let's just say > that "-fast" is not the optimal way to go. Its just > an easy way. >
The Sun Studio Compilers and loads of options for performance. You can tune your program by compiling the routines that participate the most in the execution time of an application with the appropriate options. Compiling the whole application with -fast may pessimize some routines while optimizing others. But the Sun Studio compilers employ some of the most advanced optimization techniques. You just need to know when to apply them. Without specifying options, the compiler tends to be most conservative, favoring correctness to performance. There are many articles about performance tuning and optimization out on the Sun Developer Network hub for Sun Studio http://developers.sun.com/sunstudio/ that are worth reading. Start here: http://developers.sun.com/sunstudio/articles/pp.jsp This message posted from opensolaris.org
