tag/TagPool: use prime number for NUM_SLOTS

This commit is contained in:
Max Kellermann 2016-03-14 08:04:47 +01:00
parent e140a28073
commit cf7c1afb93

View File

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