diff options
| author | tylov <[email protected]> | 2023-07-08 14:00:23 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-08 14:00:23 +0200 |
| commit | 2d1011251596edee16d3bd6afb0e3c3b9df1157b (patch) | |
| tree | bde4e7fd426ef52678590fb5b2e7e4af63b1fb9b /misc/benchmarks/various/string_bench_STC.cpp | |
| parent | 3a26c8fe4bce8a3af62042dd0fca5f36221359a9 (diff) | |
| download | STC-modified-2d1011251596edee16d3bd6afb0e3c3b9df1157b.tar.gz STC-modified-2d1011251596edee16d3bd6afb0e3c3b9df1157b.zip | |
Added support for column-major md cspan.
API change: the create function cspan_md(order, array, d1, d2, ...) has the new first argument order, which must be either 'C' or 'F' (C: row-major or Fortran: column-major). The representation of strides was changed.
Diffstat (limited to 'misc/benchmarks/various/string_bench_STC.cpp')
| -rw-r--r-- | misc/benchmarks/various/string_bench_STC.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/benchmarks/various/string_bench_STC.cpp b/misc/benchmarks/various/string_bench_STC.cpp index ae8e4c38..319b0b19 100644 --- a/misc/benchmarks/various/string_bench_STC.cpp +++ b/misc/benchmarks/various/string_bench_STC.cpp @@ -4,10 +4,11 @@ #include <iostream> #include <iomanip> #include <chrono> -#define i_static +#define i_implement #include <stc/cstr.h> // string -#define i_static +#define i_implement #include <stc/csview.h> // string_view +#include <stc/algo/raii.h> #define i_key_str #include <stc/cvec.h> // vec of cstr with const char* lookup |
