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: Neil Puttock
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 16:22:39 +0100

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.

Cheers,
Neil



reply via email to

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