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: David Kastrup
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:16:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Neil Puttock <address@hidden> writes:

> On 19 September 2011 15:10, address@hidden <address@hidden> wrote:
>
>> Also, it may be worth it to consider scrapping optimized binary
>> altogether - it'd be good to test how much overhead the unoptimized
>> version introduces with respect to the optimized version.
>
> Eek, you don't want to do that.  The unoptimized build's bloated by
> debug symbols and runs much slower in my experience.

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.

-- 
David Kastrup




reply via email to

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