aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-01 00:45:06 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-05-01 00:45:06 +0300
commit7f2ece0685eaa6dacf4dc9597e31299af1ccd73f (patch)
treea597d9761d29ebb946dfb4cec52f9f337d19e9dd
parentee0e0a44a219f332d71f8d3fbbd81736ff59e943 (diff)
downloadydb-7f2ece0685eaa6dacf4dc9597e31299af1ccd73f.tar.gz
intermediate changes
ref:aafcc5ea05b838722ba43f58219d93b62e33ed1a
-rw-r--r--library/cpp/yt/string/string_builder.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/cpp/yt/string/string_builder.h b/library/cpp/yt/string/string_builder.h
index 0e13e70904..9fddacba11 100644
--- a/library/cpp/yt/string/string_builder.h
+++ b/library/cpp/yt/string/string_builder.h
@@ -53,8 +53,7 @@ protected:
virtual void DoReset() = 0;
virtual void DoPreallocate(size_t newLength) = 0;
- // -64 must account for any reasonable overhead in dynamic string allocation.
- static constexpr size_t MinBufferLength = 1024 - 64;
+ static constexpr size_t MinBufferLength = 128;
};
////////////////////////////////////////////////////////////////////////////////