lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 4231 in lilypond: inefficient code in auto-beaming


From: lilypond
Subject: [Lilypond-auto] Issue 4231 in lilypond: inefficient code in auto-beaming
Date: Sat, 27 Dec 2014 22:48:33 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 4231 by address@hidden: inefficient code in auto-beaming
https://code.google.com/p/lilypond/issues/detail?id=4231

The segfault reported here
<http://lists.gnu.org/archive/html/bug-lilypond/2014-10/msg00071.html>
  \new Staff { \relative d' {
    \time 8/1024 d128 |
    \time 99999/1 d1 }}
happens when the auto-beamer fills its data structures in preparation for 99999 potential end-points of beams. The code is recursive, but apparently not in the simple tail-recursive way that scheme can optimize.

We could be more efficient at auto-beam.scm:41--44
  (define (ending-moments group-list start-beat base-length)
    (map (lambda (x) (* base-length (+ start-beat x)))
      group-list))


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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