Re: Free Lunch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cino hilliard writes:
 > The following code appears to provide a free lunch. Can someone try this on 
 > their systems
 > to see if they get similar results?
 > 
 > Thanks,
 > Cino
 > 
 > //                                        Free Lunch
 > //
 > //Mind boggling code in Gcc 3.4.4. incrementing a variable in a loop runs 20 
 > times faster than just
 > //an empty loop.

There's a good reason for this.  You can discover it by reading gcc's
documentation.  See ``Deleting "empty" loops''.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux