aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/benchmark
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/string/benchmark
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/string/benchmark')
-rw-r--r--util/string/benchmark/float_to_string/main.cpp4
-rw-r--r--util/string/benchmark/join/main.cpp2
-rw-r--r--util/string/benchmark/subst_global/main.cpp16
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 b52a5e5ab1..1c7c0684a3 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 cca2331a33..1a8633d3a8 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 0cce508f08..e0decfa042 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};