mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
This would realloc a buffer for every event, making it absurdly slow for large MIDI files (say, 10k events). Use the somewhat standard heuristic of doubling the requested allocation every time we need to increase the size. This results in a speedup of 40-100x when saving SMF to disk |
||
|---|---|---|
| .. | ||
| evoral | ||
| libsmf | ||
| MSVCevoral | ||
| test | ||
| Control.cc | ||
| ControlList.cc | ||
| ControlSet.cc | ||
| Curve.cc | ||
| debug.cc | ||
| Event.cc | ||
| Note.cc | ||
| run-tests.sh | ||
| Sequence.cc | ||
| SMF.cc | ||
| wscript | ||