MCPcopy Create free account
hub / github.com/atcoder/ac-library / CONV_same_length

Function CONV_same_length

test/benchmark/convolution.cpp:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using mint = modint998244353;
9
10void CONV_same_length(benchmark::State& state) {
11 vector<mint> a(state.range(0)), b(state.range(0));
12 for (int i = 0; i < state.range(0); i++) {
13 a[i] = i + 1234;
14 b[i] = i + 5678;
15 }
16 for (auto _ : state) {
17 benchmark::DoNotOptimize(convolution(a, b));
18 }
19}
20BENCHMARK(CONV_same_length)->RangeMultiplier(2)->Range(1, 1<<20);
21BENCHMARK(CONV_same_length)->DenseRange(1, 100, 1);
22

Callers

nothing calls this directly

Calls 1

convolutionFunction · 0.85

Tested by

no test coverage detected