diff options
author | Max Kellermann <max@duempel.org> | 2008-09-08 11:47:57 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-09 00:40:26 -0700 |
commit | 09dccb79f611110a5a653030c7c21958eda95a03 (patch) | |
tree | c1132f3228146c9543806c36451056a61a1f7f8e /src/tagTracker.h | |
parent | 65c88720fbc08bb9ca2cb37ffa75fd842ff3f1d1 (diff) | |
download | mpd-09dccb79f611110a5a653030c7c21958eda95a03.tar.gz mpd-09dccb79f611110a5a653030c7c21958eda95a03.tar.xz mpd-09dccb79f611110a5a653030c7c21958eda95a03.zip |
use strset.h instead of tagTracker.h
With a large music database, the linear string collection in
tagTracker.c becomes very slow. We implemented that in a
quick'n'dirty fashion when we removed tree.c, and now we rewrite it
using the fast hashed string set.
Diffstat (limited to '')
-rw-r--r-- | src/tagTracker.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/tagTracker.h b/src/tagTracker.h deleted file mode 100644 index 2edb5aad0..000000000 --- a/src/tagTracker.h +++ /dev/null @@ -1,32 +0,0 @@ -/* the Music Player Daemon (MPD) - * Copyright (C) 2003-2007 by Warren Dukes (warren.dukes@gmail.com) - * This project's homepage is: http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef TAG_TRACKER_H -#define TAG_TRACKER_H - -int getNumberOfTagItems(int type); - -void printMemorySavedByTagTracker(void); - -void resetVisitedFlagsInTagTracker(int type); - -void visitInTagTracker(int type, const char *str); - -void printVisitedInTagTracker(int fd, int type); - -#endif |