tag/Pool: enlarge hash table

This consumes more memory (plus 48 kB on 32 bit systems), but reduces
the number of hash collisions, speeding up MPD startup with large
databases.
This commit is contained in:
Max Kellermann 2020-04-01 19:51:47 +02:00
parent 8270043053
commit b267ba5f0a
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@ -1,6 +1,6 @@
ver 0.21.22 (not yet released)
* database
- simple: reduce I/O overhead while reading database file
- simple: optimize startup
* input
- curl: fix streaming errors on Android
* playlist

View File

@ -32,7 +32,7 @@
Mutex tag_pool_lock;
static constexpr size_t NUM_SLOTS = 4093;
static constexpr size_t NUM_SLOTS = 16127;
struct TagPoolSlot {
TagPoolSlot *next;