DescriptionRewrite 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.
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 4
|