From 3ef31f6e0c13aa7b2ebd1fcacd7e1aa3ac560ba5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 13:27:33 +0200 Subject: manage tag string allocations in a pool There are many duplicated strings in the tag database, e.g. many songs having the same artist. Don't allocate such strings twice, manage all strings in a pool. --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 176edf251..53342ff54 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,7 @@ ncmpc_headers = \ ncmpc.h\ screen_browse.h\ src_lyrics.h \ + str_pool.h \ gcc.h # $Id$ @@ -62,7 +63,8 @@ ncmpc_SOURCES = \ wreadln.c\ strfsong.c\ utils.c\ - src_lyrics.c + src_lyrics.c \ + str_pool.c if LEOSLYRICS_FIXED ncmpc_SOURCES+=lyrics_leoslyrics.c -- cgit v1.2.3