Files
swift-mirror/benchmark/utils/CxxTests/Subscripts.h
Nuri Amari cda2c26d8c Create ReadAccessor benchmark
Create a benchmark to test the
performance of synthesized read
accessors generated to interop
with C++ [] operators.
2022-03-07 10:19:25 -05:00

11 lines
237 B
C++

#ifndef BENCHMARK_SUBSCRIPTS_H
#define BENCHMARK_SUBSCRIPTS_H
#include <vector>
using TwoDimensionalVector = std::vector<std::vector<int>>;
inline TwoDimensionalVector initVector() { return {100, std::vector<int>{1000, 0}}; }
#endif