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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user