cpp/src/arrow/util/range_benchmark.cc
// For comparison: pure copy with type conversion.
For comparison: pure copy with type conversion.
For comparison : pure copy with type conversion .
void std_copy_converting(benchmark::State& state) {
  auto source = generate_junk<int32_t>(kSize);
  std::vector<int64_t> target(kSize);
  for (auto _ : state) {
    std::copy(source.begin(), source.end(), target.begin());
  }
}
void std_copy_converting ( benchmark :: State & state ) { auto source = generate_junk < int32_t > ( kSize ) ; std :: vector < int64_t > target ( kSize ) ; for ( auto _ : state ) { std :: copy ( source . begin ( ) , source . end ( ) , target . begin ( ) ) ; } }
For comparison: pure copy with type conversion.
For comparison : pure copy with type conversion .
// bigger type to avoid warnings