[Top][All Lists]

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

Re: streamlining \eyeglasses

From: Graham Percival
Subject: Re: streamlining \eyeglasses
Date: Sat, 7 Mar 2009 21:21:38 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Mar 07, 2009 at 12:08:06AM -0800, Mark Polesky wrote:
> And here's my streamlined code, using about
> 40% fewer operators/operands, and about
> 40% less space in the file. 
> I know, not a big deal, just thought I'd share.
> Maybe the concept is of interest to someone.

Cool!  Can you see any similar tricks that you can do on
scm/output-ps.scm ?  (or wherever the basic lilypond stuff is

One possible concern: although your new version uses 40% less
operators, is there any speed difference?  Sometimes having more
commands can actually result in faster code.

I'm not certain if this is applicable here, nor how precisely
you'd test it (open each file in xpdf three times and average the
wait?), but we might want to be a bit cautious, even if you *can*
see how to make significant reductions like this in the basic
lilypond output.  :)

- Graham

reply via email to

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