diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /util/string/benchmark | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/string/benchmark')
-rw-r--r-- | util/string/benchmark/float_to_string/main.cpp | 4 | ||||
-rw-r--r-- | util/string/benchmark/join/main.cpp | 2 | ||||
-rw-r--r-- | util/string/benchmark/subst_global/main.cpp | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/util/string/benchmark/float_to_string/main.cpp b/util/string/benchmark/float_to_string/main.cpp index 1c7c0684a3..b52a5e5ab1 100644 --- a/util/string/benchmark/float_to_string/main.cpp +++ b/util/string/benchmark/float_to_string/main.cpp @@ -34,7 +34,7 @@ namespace { template <typename T, size_t N> struct TExamplesHolder { - TVector<TExample<T>> Examples; + TVector<TExample<T>> Examples; TExamplesHolder() : Examples(N) @@ -49,7 +49,7 @@ namespace { template <typename T, size_t N> struct TNearZeroExamplesHolder { - TVector<TExample<T>> Examples; + TVector<TExample<T>> Examples; TNearZeroExamplesHolder() : Examples(N) diff --git a/util/string/benchmark/join/main.cpp b/util/string/benchmark/join/main.cpp index 1a8633d3a8..cca2331a33 100644 --- a/util/string/benchmark/join/main.cpp +++ b/util/string/benchmark/join/main.cpp @@ -46,7 +46,7 @@ namespace { template <size_t N, typename... T> struct TExamplesHolder { - using TExamples = TVector<std::tuple<T...>>; + using TExamples = TVector<std::tuple<T...>>; TExamples Examples; TExamplesHolder() diff --git a/util/string/benchmark/subst_global/main.cpp b/util/string/benchmark/subst_global/main.cpp index e0decfa042..0cce508f08 100644 --- a/util/string/benchmark/subst_global/main.cpp +++ b/util/string/benchmark/subst_global/main.cpp @@ -2,7 +2,7 @@ #include <util/generic/cast.h> #include <util/generic/singleton.h> -#include <util/generic/string.h> +#include <util/generic/string.h> #include <util/generic/xrange.h> #include <util/random/fast.h> #include <util/string/cast.h> @@ -15,7 +15,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TNoMatches() { for (const auto dummy : xrange(N)) { @@ -31,7 +31,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TOneMatchInTheBeginning() { if (!N) { @@ -54,7 +54,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TOneMatchInTheEnd() { if (!N) { @@ -77,7 +77,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TOneMatchInTheMiddle() { if (!N) { @@ -100,7 +100,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TFirstHalfMatches() { for (size_t i = 0; i < N / 2; ++i) { @@ -118,7 +118,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TSecondHalfMatches() { for (size_t i = 0; i < N / 2; ++i) { @@ -136,7 +136,7 @@ namespace { WHAT = What, WITH = With }; - TString Str; + TString Str; TEveryKth() { TFastRng<ui64> prng{N * K * 101}; |