8000 gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k by morotti · Pull Request #118144 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k #118144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Mar 7, 2025
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
Prev Previous commit
Next Next commit
format code block with double backticks
  • Loading branch information
rmmancom committed Mar 7, 2025
commit f9258be5a25cbd596937ac9b999c2a357f17e209
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ are always available. They are listed here in alphabetical order.
given, the default buffering policy works as follows:

* Binary files are buffered in fixed-size chunks; the size of the buffer
is max(min(blocksize, 8 MiB), DEFAULT_BUFFER_SIZE)
is ``max(min(blocksize, 8 MiB), DEFAULT_BUFFER_SIZE)``
when the device block size is available.
On most systems, the buffer will typically be 128 kilobytes long.

Expand Down
0