The compiler flags helped, and I also made my data structure a little larger so that I would have to do less conditional tests. That change seemed to make the biggest difference. -- View this message in context: http://www.nabble.com/Optimization-Advice-for-beginer--t1066651.html#a2815468 Sent from the gcc - Help forum at Nabble.com.