Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions peps/pep-0782.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ When creating a bytes string and the output size is unknown, one
strategy is to allocate a short buffer and extend it (to the exact size)
each time a larger write is needed.

This strategy is inefficient because it requires to enlarge the buffer
multiple timess. It's more efficient to overallocate the buffer the
This strategy is inefficient because it requires enlarging the buffer
multiple times. It's more efficient to overallocate the buffer the
first time that a larger write is needed. It reduces the number of
expensive ``realloc()`` operations which can imply a memory copy.

Expand Down