diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-01 00:45:06 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-01 00:45:06 +0300 |
commit | 7f2ece0685eaa6dacf4dc9597e31299af1ccd73f (patch) | |
tree | a597d9761d29ebb946dfb4cec52f9f337d19e9dd /library/cpp | |
parent | ee0e0a44a219f332d71f8d3fbbd81736ff59e943 (diff) | |
download | ydb-7f2ece0685eaa6dacf4dc9597e31299af1ccd73f.tar.gz |
intermediate changes
ref:aafcc5ea05b838722ba43f58219d93b62e33ed1a
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/yt/string/string_builder.h | 3 |
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; }; //////////////////////////////////////////////////////////////////////////////// |