Skip to content

Commit 8f02ef0

Browse files
Reduce 8MB thread-local pool size to 128kb
1 parent 9019a6e commit 8f02ef0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class NativeString {
126126
bool invalid = false;
127127

128128
// Static thread-local state shared by all NativeString instances on this thread
129-
inline static thread_local std::vector<char> pool = std::vector<char>(8 * 1024 * 1024);
129+
inline static thread_local std::vector<char> pool = std::vector<char>(128 * 1024);
130130
inline static thread_local size_t pool_offset = 0;
131131
inline static thread_local int ref_count = 0;
132132

0 commit comments

Comments
 (0)