bug-lilypond
[Top][All Lists]

## Re: Long compile times with many empty bars

 From: Simon Albrecht Subject: Re: Long compile times with many empty bars Date: Sat, 7 Apr 2018 14:57:54 +0200

On 07.04.2018 13:42, Andrew Bernard wrote:

given that when there are
non-empty objects present it does not appear to arise. is it simply an
'academic' corner case of purely theoretical interest?



It happens in intermediary stages of work. I stumbled upon the problem when I started engraving a new piece by setting up this:

global = {
\time 3/8
\key f \major
s4.*438
\bar "||"
\time 2/2
\set Timing.currentBarNumber = 1
s1*170
\bar "|."
}


and then combining it with the first couple bars of music, to be surprised by the extraordinarily long compile time. So I don’t think it’s a contrived example, and since I do think this is a useful workflow, it would certainly help to make LilyPond compile this faster.

Best, Simon
PS. Bonus points for guessing the piece ;-)