Skip to content

Commit 4526f51

Browse files
committed
Enable overallocation by default
1 parent fd85a1b commit 4526f51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/unicodeobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13196,6 +13196,7 @@ PyUnicodeWriter_Create(void)
1319613196
return NULL;
1319713197
}
1319813198
_PyUnicodeWriter_Init((_PyUnicodeWriter*)writer);
13199+
PyUnicodeWriter_SetOverallocate(writer, 1);
1319913200
return writer;
1320013201
}
1320113202

0 commit comments

Comments
 (0)