diff options
author | Cody Maloney <cmaloney@users.noreply.github.com> | 2025-01-30 11:23:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 11:23:25 (GMT) |
commit | e1c4ba928852eac0b0e0bded1c314e3e36975286 (patch) | |
tree | 148adc5b5601356f07f854ca89fe35309addd47c /Python/errors.c | |
parent | 3bebe46d3413195ee18c5c9ada83a35d4fd1d0e7 (diff) | |
download | cpython-e1c4ba928852eac0b0e0bded1c314e3e36975286.zip cpython-e1c4ba928852eac0b0e0bded1c314e3e36975286.tar.gz cpython-e1c4ba928852eac0b0e0bded1c314e3e36975286.tar.bz2 |
gh-129005: _pyio.BufferedIO remove copy on readall (#129454)
Slicing buf and appending chunk would always result in a copy. Commonly
in a readall() there is no already read data in buf, and the amount of
data read may be large, so the copy is expensive.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions