Code

use GArray for playlist instead of GList
authorMax Kellermann <max@duempel.org>
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200)
commit1c51c6681b366c1d5ee87f48553d4223ad4c198d
treecead22384084fd77e3462063b5248fce85059026
parent3da600fbb0c33ec5cfb76e5341cf21c160592202
use GArray for playlist instead of GList

Using a doubly linked list for the local playlist copy is a huge waste
of both memory and CPU cycles.  Use GArray instead of GList, which is
much faster in this case.
src/mpdclient.c
src/mpdclient.h
src/screen_play.c