bug-lilypond
[Top][All Lists]
Advanced

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

Re: midi2ly failure


From: Ben Rudiak-Gould
Subject: Re: midi2ly failure
Date: Tue, 18 Dec 2012 18:39:09 -0800

I rewrote midi.c in Python and tested it on the largest midi file in
IMSLP [1]. On my laptop it takes about 200 ms instead of 50 ms to load
the file, but that's a small fraction of midi2ly's four-second
runtime, and there are a lot of optimizations that can be done in
midi2ly itself. (For example, memoizing the creation of Duration
objects saves about 500 ms.) I think getting rid of the sole occupant
of usr/lib/lilypond/current/python is worth it. Assuming you agree,
where should I send the code?

-- Ben

[1] http://imslp.org/wiki/File:PMLP217139-111103_Particell.mid



reply via email to

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