lilypond-devel
[Top][All Lists]
Advanced

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

Re: Clean up code for sorting grob-properties. (issue 102760044)


From: markpolesky
Subject: Re: Clean up code for sorting grob-properties. (issue 102760044)
Date: Wed, 28 May 2014 22:01:19 +0000

On 2014/05/28 21:46:55, dak wrote:
Doing an assoc-set! here is inefficient inside of the loop.  Instead
of
(for-each
    (lambda (grob-description)
       ...
       (set! all-grob-descriptions (assoc-set! ...

one should use
(set! all-grob-descriptions
   (map!
      (lambda (grob-description)
         ;replacement for grob description)
      all-grob-descriptions))

Like this?

https://codereview.appspot.com/102760044/



reply via email to

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