author | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200) | ||
commit | 1c51c6681b366c1d5ee87f48553d4223ad4c198d | |
tree | cead22384084fd77e3462063b5248fce85059026 | tree | snapshot |
parent | 3da600fbb0c33ec5cfb76e5341cf21c160592202 | commit | diff |
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.
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 | diff | blob | history | |
src/mpdclient.h | diff | blob | history | |
src/screen_play.c | diff | blob | history |