lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3067 in lilypond: Patch: Rewrite of Midi.c in Pyth


From: lilypond
Subject: [Lilypond-auto] Issue 3067 in lilypond: Patch: Rewrite of Midi.c in Python
Date: Wed, 26 Dec 2012 21:05:01 +0000

Status: New
Owner: ----
Labels: Type-Enhancement Patch-new

New issue 3067 by address@hidden: 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




reply via email to

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