We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0691d8 commit 70e9749Copy full SHA for 70e9749
1 file changed
cpp/src/arrow/acero/aggregate_benchmark.cc
@@ -17,6 +17,7 @@
17
18
#include "benchmark/benchmark.h"
19
20
+#include <bit>
21
#include <cassert>
22
#include <cmath>
23
#include <iostream>
@@ -269,7 +270,7 @@ struct SumBitmapVectorizeUnroll : public Summer<T> {
269
270
local.total += SUM_SHIFT(5);
271
local.total += SUM_SHIFT(6);
272
local.total += SUM_SHIFT(7);
- local.valid_count += bit_util::kBytePopcount[valid_byte];
273
+ local.valid_count += std::popcount(valid_byte);
274
} else {
275
// No nulls
276
local.total += values[i + 0] + values[i + 1] + values[i + 2] + values[i + 3] +
0 commit comments