From 75aa08ed6b0c7b1fef314183f95be6dac3bee472 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 11 Sep 2023 21:22:54 +0200 Subject: [PATCH] tag/Pool: use a power-of-2 hash table size This is simpler to calculate and the advantage of using a prime is negligible anyway. --- src/tag/Pool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tag/Pool.cxx b/src/tag/Pool.cxx index 33bb4afc6..d48744c97 100644 --- a/src/tag/Pool.cxx +++ b/src/tag/Pool.cxx @@ -77,7 +77,7 @@ TagPoolItem::Create(TagType type, value); } -static IntrusiveHashSet, TagPoolItem::GetKey>,