Commit cf7c1afb authored by Max Kellermann's avatar Max Kellermann

tag/TagPool: use prime number for NUM_SLOTS

parent e140a280
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
Mutex tag_pool_lock; Mutex tag_pool_lock;
static constexpr size_t NUM_SLOTS = 4096; static constexpr size_t NUM_SLOTS = 4093;
struct TagPoolSlot { struct TagPoolSlot {
TagPoolSlot *next; 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