[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parallelizing Lilypond [was: Re: Sibelius Software UK office shuts d
From: |
David Kastrup |
Subject: |
Re: Parallelizing Lilypond [was: Re: Sibelius Software UK office shuts down] |
Date: |
Fri, 10 Aug 2012 13:48:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Joseph Rushton Wakeling <address@hidden> writes:
> So what do you think about the potential of an algorithm going something like
> this:
>
> (1) Read in enough bars of music to take up a little over 2 pages [you can
> presumably do a rough estimate of the width and height of bars and
> staff
> systems on the fly].
>
> (2) Engrave that music. Keep the first page written.
>
> (3) If the music is completely engraved, keep the second page as well, and
> stop. Otherwise, rewind to the start of the second page and return
> to step (1), reading and engraving from this new start point.
>
> So basically you're doing: engrave pp. 1 & 2, keep page 1; engrave
> pp. 2 & 3, keep page 2; engrave pp. 3 & 4, keep page 3; ....
>
> You could generalize this to engraving N+1 pages (N >= 1) at a time
> and keeping the first N pages written.
>
> That should keep a firm cap on calculation size and memory
> consumption, as you'd only ever be engraving N+1 pages at a time. It
> would probably be slower for small scores, but would make it possible
> to build scores of any size with a constant memory footprint.
I think we have enough real problems without inventing artificial
challenges.
--
David Kastrup
- Re: Sibelius Software UK office shuts down, (continued)
- Re: Sibelius Software UK office shuts down, Han-Wen Nienhuys, 2012/08/06
- Re: Sibelius Software UK office shuts down, George_, 2012/08/06
- Re: Sibelius Software UK office shuts down, Han-Wen Nienhuys, 2012/08/06
- Re: Sibelius Software UK office shuts down, George_, 2012/08/07
- Re: Sibelius Software UK office shuts down, Han-Wen Nienhuys, 2012/08/07
- Re: Sibelius Software UK office shuts down, George_, 2012/08/07
- Re: Sibelius Software UK office shuts down, Martin Tarenskeen, 2012/08/08
- Paralellizing Lilypond [was: Re: Sibelius Software UK office shuts down], Joseph Rushton Wakeling, 2012/08/10
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shuts down], David Kastrup, 2012/08/10
- Re: Parallelizing Lilypond [was: Re: Sibelius Software UK office shuts down], Joseph Rushton Wakeling, 2012/08/10
- Re: Parallelizing Lilypond [was: Re: Sibelius Software UK office shuts down],
David Kastrup <=
- Re: Parallelizing Lilypond [was: Re: Sibelius Software UK office shuts down], Joseph Rushton Wakeling, 2012/08/10
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Phil Holmes, 2012/08/10
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Joseph Rushton Wakeling, 2012/08/10
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Phil Holmes, 2012/08/10
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Joseph Rushton Wakeling, 2012/08/11
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Gilles Sadowski, 2012/08/11
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], David Kastrup, 2012/08/11
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], Graham Percival, 2012/08/11
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], address@hidden, 2012/08/11
- Re: Paralellizing Lilypond [was: Re: Sibelius Software UK office shutsdown], David Kastrup, 2012/08/11