summaryrefslogtreecommitdiffhomepage
path: root/misc/benchmarks/various/string_bench_STC.cpp
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-08 14:00:23 +0200
committertylov <[email protected]>2023-07-08 14:00:23 +0200
commit2d1011251596edee16d3bd6afb0e3c3b9df1157b (patch)
treebde4e7fd426ef52678590fb5b2e7e4af63b1fb9b /misc/benchmarks/various/string_bench_STC.cpp
parent3a26c8fe4bce8a3af62042dd0fca5f36221359a9 (diff)
downloadSTC-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.cpp5
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