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

Function CONV_long_empty

test/benchmark/convolution.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21BENCHMARK(CONV_same_length)->DenseRange(1, 100, 1);
22
23void CONV_long_empty(benchmark::State& state) {
24 vector<mint> a(state.range(0)), b;
25 for (int i = 0; i < state.range(0); i++) {
26 a[i] = i + 1234;
27 }
28 for (auto _ : state) {
29 benchmark::DoNotOptimize(convolution(a, b));
30 benchmark::DoNotOptimize(convolution(b, a));
31 }
32}
33BENCHMARK(CONV_long_empty)->RangeMultiplier(2)->Range(1, 1 << 20);
34
35BENCHMARK_MAIN();

Callers

nothing calls this directly

Calls 1

convolutionFunction · 0.85

Tested by

no test coverage detected