2008/10/10 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > void > Global_context::run_iterator_on_me (Music_iterator *iter) > { > prev_mom_.set_infinite (-1); > now_mom_.set_infinite (-1); > Moment final_mom = iter->get_music ()->get_length (); > > I would do this Q&D by overwriting the 'length property of the top > music expression, which will be still a lot faster.
Hi Han-Wen, I assume you're referring to the function in global-context.cc, but I can hardly say I understand anything to it :-) Do you want this to replace the use of ly:get-length as a Scheme function? I was afraid such features might be slower in Scheme than in C++; that being said, I am not able (yet) to implement anything in C++ on my own. (in ten years from now, maybe...) Neil: Debussy suddenly looks a lot easier :-) Cheers, Valentin _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel