Status: New Owner: ---- Labels: Type-Enhancement Patch-new
New issue 3067 by [email protected]: Patch: Rewrite of Midi.c in Python http://code.google.com/p/lilypond/issues/detail?id=3067 Rewrite of Midi.c in Python 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. http://codereview.appspot.com/7016046
