lilypond-user
[Top][All Lists]
Advanced

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

Re: CPU usage and barchecks


From: David Kastrup
Subject: Re: CPU usage and barchecks
Date: Mon, 25 Feb 2013 00:18:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Antonio Gervasoni <address@hidden> writes:

> I wonder if having a barcheck for every measure has something to do
> with this. The score I'm working on has 25 staves and is 220 bars
> long. Also, of those 25 staves, 9 are used for two instruments so in
> the end it's just like having 34 staves. Then, 34*220 makes 7,480
> barchecks. If I remove almost all the barchecks and leave just a few,
> would that make a difference on how much CPU is used?

No.  Bar checks don't do any accounting of their own, they just check an
existing counter for being on a bar boundary at a particular point of
processing.  I doubt that you would notice a significant difference if
you had 100 bar checks every bar.

-- 
David Kastrup




reply via email to

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