Re: Compilation time (was: Generate \scaleDurations procedurally)

2023-06-13 Thread Lib Lists
Dear Jean (and Valentin!), thank you so much! The page breaker was the problem, and after applying your fix the compilation time on my machine is around 3 minutes. I'll soon be able to finish the score, just need to fix the duration ratio and the layout. Again, thank you! Lib P.S. I just found an o

Re: Compilation time (was: Generate \scaleDurations procedurally)

2023-06-13 Thread Jean Abou Samra
Le mardi 13 juin 2023 à 11:13 +0200, Valentin Petzel a écrit : > ``` > bargrid = > #(define-music-function (d type mus) (pair? string? ly:music?) >    (let* ((mus-len (ly:music-length mus)) >   (mus-len (/ (ly:moment-main-numerator mus-len) > (ly:moment-main-denominator mus-len))) >  

Re: Compilation time (was: Generate \scaleDurations procedurally)

2023-06-13 Thread Valentin Petzel
Hello Lib, this slowdown appears to be induced by forbidBreakBetweenBarLines = ##f This might be understandable: Your code will division at 30/1, 30/2, ..., 30/88, which might induce a relatively large number of potential break points. This appears to be too much for the line breaking algorithm

Re: Compilation time (was: Generate \scaleDurations procedurally)

2023-06-13 Thread Jean Abou Samra
Le mardi 13 juin 2023 à 09:16 +0200, Lib Lists a écrit : > Hello, > > When trying to compile the complete score of the piece below (88 > staves and 120 quarter notes), I noticed it was taking many hours (I > didn't finish the compilation). Trying with shorter versions, I got > the following compil

Compilation time (was: Generate \scaleDurations procedurally)

2023-06-13 Thread Lib Lists
Hello, When trying to compile the complete score of the piece below (88 staves and 120 quarter notes), I noticed it was taking many hours (I didn't finish the compilation). Trying with shorter versions, I got the following compilation times: - 2x quarter notes -> 16.7", - 4x quarter notes -> 1'17",