bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1905 in lilypond: Add note to CG 9.3 'Compiling reg tests' to


From: address@hidden
Subject: Re: Issue 1905 in lilypond: Add note to CG 9.3 'Compiling reg tests' to add --disable-optimising when using autogen.sh or configure
Date: Mon, 19 Sep 2011 17:52:47 +0200

On Sep 19, 2011, at 5:22 PM, Neil Puttock wrote:

> On 19 September 2011 16:16, David Kastrup <address@hidden> wrote:
> 
>> The debug symbols should not affect code speed, and they are present in
>> the unoptimized build, anyway, unless you are talking about something
>> completely different from what I think you do.  I find it disturbing,
>> however, that our default build uses NDEBUG to disable assertions.
>> Under normal circumstances, assertions have negligible speed impact.  It
>> makes little sense to restrict their use explicitly to non-optimized
>> builds.  In particular since it makes it quite unlikely that one can
>> catch Heisenbugs with assertions: they often go away with significant
>> code changes, and switching optimization off most certainly _is_ a
>> significant change.
> 
> I didn't say that the debug symbols affect code speed.
> 
> The unoptimized binary is much slower, at least on my system.
> 
> Mike is suggesting we stop shipping optimized binaries.
> 

I've put up a new patch that checks for cyclic dependencies in the regtests - 
does this seem like a better approach?

Cheers,
MS


reply via email to

[Prev in Thread] Current Thread [Next in Thread]