bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 935 in lilypond: Enhancement: optional arguments in music func


From: lilypond
Subject: Re: Issue 935 in lilypond: Enhancement: optional arguments in music functions
Date: Thu, 15 Sep 2011 09:53:20 +0000

Updates:
        Status: Started
        Owner: address@hidden
        Cc: address@hidden
        Labels: -Priority-Postponed Patch-review

Comment #3 on issue 935 by address@hidden: Enhancement: optional arguments in music functions
http://code.google.com/p/lilypond/issues/detail?id=935

Anyway, this was interesting, and I hope that it's bounty-worthy. It is conceivable that one can notice slight speed differences: while Bison's speed is strict O(n) for input of size n, the tables grow with the number of states and that makes cache misses more likely. But then that's not exactly the slowest part of Lilypond, so impact should be small. It is more of a nuisance that the grammar does not exactly become more readable, but I have no good idea for somehow factoring the "anything but x" pattern required here for every supported argument type x. Not without making things even more complex.

<URL:http://codereview.appspot.com/5023044>




reply via email to

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