Commit b267ba5f authored by Max Kellermann's avatar Max Kellermann

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.
parent 82700430
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment