Code

song: allocate mpd_song from glib slices
authorMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:11:39 +0000 (19:11 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 17:11:39 +0000 (19:11 +0200)
commit9e94b7cb6eebcf40d2508cc365dbc7c221071454
treef934b1478c805df268c50bb80f698f1475986aa0
parentac9b642dde4c63f35936d19ed937481bc73f8db4
song: allocate mpd_song from glib slices

Since we compile ncmpc with glib, we can use its slice allocator for
efficient song allocation.  I have added a way to disable this with a
macro.
src/song.c