Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion peps/pep-0782.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ 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
Comment thread
warsaw marked this conversation as resolved.
Outdated
multiple timess. It's more efficient to overallocate the buffer the
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