Add support for more than two XOR bits

This commit is contained in:
2023-12-12 13:17:11 +01:00
parent a89f4a3065
commit 1ba63bd1f7
6 changed files with 118 additions and 82 deletions

View File

@@ -59,7 +59,8 @@ static void decode(benchmark::State& state)
for (auto _ : state)
{
auto decodedAddress = decoder.decodeAddress(distribution(engine));
auto randomAddress = distribution(engine);
auto decodedAddress = decoder.decodeAddress(randomAddress);
benchmark::DoNotOptimize(decodedAddress);
}
}