Files
ardour/libs/evoral/libsmf
Paul Davis 65332e603b libsmf: speed up ridiculous design of smf_save()
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
2025-11-17 16:05:03 -07:00
..
2019-11-02 16:32:18 -06:00
2019-11-02 16:32:18 -06:00
2019-11-02 16:32:18 -06:00
2025-02-28 16:49:15 -07:00
2019-11-02 16:32:18 -06:00

This is a stripped down version of libsmf 1.2 by Edward Tomasz Napiera
for internal use by Evoral.  See COPYING for licensing information.

The complete version can be found at <http://libsmf.sf.net>.