On 2011-08-24, at 09:25 , David Kastrup wrote:

> Modern compilers pay very little attention to how you arrange the source
> code of equivalent constructs.


My experience trying to finagle optimized code out of gcc was more than a year 
ago, and the compiler was probably a bit older than that (not much though--I 
remember it was upgraded shortly before I was given the assignment).

I see in the documentation for gcc 4.7.0 that by default it tries to guess the 
probability of branching, so it seems you are right about 'modern' compilers 
(one of them anyway).  What a difference a few years makes.

Thanks for the lesson,
-- 
Dan


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to