From: Oscar F. <of...@wa...> - 2002-09-12 04:41:29
|
Christopher Faylor <cg...@re...> writes: > On Wed, Sep 11, 2002 at 06:03:00AM +0200, Oscar Fuentes wrote: > >If you compile without optimization means either tha you don't want > >optimization ot that you don't _care_ _enough_ about overhead. > > I *might* (and do) care about jumping all over the place when single > stepping while debugging, though. I *might* care about the additional > function being declared in every object file that calls the > function. Oh, I see you are not a C++ programmer :-) > I *might* even care about the extra call overhead I don't understand this. If you care about performance of executable code, why don't build with optimizations on? > or the fact that my optimized code was subtly different from my > non-optimized code. For any real-world program, optimized code is *quite* different from non-optimized code. I'm missing something? > It's possible that the benefits of doing this outweigh these issues but > I don't think they should just be dismissed without considering them. Agreed. -- Oscar |