8000 gh-117151: optimize algorithm to grow the buffer size for readall() on files by morotti · Pull Request #131052 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-117151: optimize algorithm to grow the buffer size for readall() on files #131052

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
gh-117151: add news item
  • Loading branch information
rmmancom committed Mar 11, 2025
commit 25d3cb7edc8078d47ec238b1b3babf6bed746002
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Optimize the algorithm to grow the buffer when reading a full file and the
file size was unknown or changed since the file was opened. Increase
exponentially and faster and in steps no smaller than 128 kB. This should
improve I/O performance.
Loading
0