lilypond-devel
[Top][All Lists]
Advanced

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

Re: Cleanups and optimisations


From: Han-Wen Nienhuys
Subject: Re: Cleanups and optimisations
Date: Sun, 01 Oct 2006 13:22:21 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Joe Neeman schreef:
In honour of the fact that I got oprofile working on my laptop, I have
two small optimisations to constrained-breaking that give an overall
speedup of 10-15% on longish scores. First of all, I cache ragged-right
and ragged-last instead of looking them up every time in
combine_demerits. Secondly, I reversed the order of the loop in
calc_cubproblem.

I also removed break-algorithm.cc and changed the Constrained_breaking
interface slightly -- it now takes the Paper_score in the constructor.

make web works with no alterations.

Cool - please apply. Killing bottlenecks is always good. There must be loads left after all the changes in the 2.9 series.

--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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