|
From: | Arno Waschk |
Subject: | Re: scheme night-mare... |
Date: | Mon, 12 Jul 2010 15:53:10 +0200 |
User-agent: | Opera Mail/10.60 (Linux) |
On 7/12/10 4:48 AM, "Arno Waschk" <address@hidden> wrote:Just finished a profile run with a larger score- ly_scm2interval is reported to have consumd 16% of computation time. There must be something wrong.... which appears in a loop, which is performed >2 billions times (!) fora 18 a3 page test score. Says gprof... Is that possible/necessary?Well, if it's an 18 page score, then there are lots of page break options,and so there would be lots of calculations. 2 billion seems like a lot,but there are a lot of ways to figure out line and page breaks in 18 pagesof score....
and breaks.size() is 1202. just for info.
ly_scm2interval is part of the beam scoring code. So that might be where many of the calls come from. I'm not sure what the fix might be. Carl _______________________________________________ lilypond-devel mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-devel
-- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
[Prev in Thread] | Current Thread | [Next in Thread] |