We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
io
1 parent 4ea214e commit 6431f37Copy full SHA for 6431f37
Doc/whatsnew/3.14.rst
@@ -471,6 +471,15 @@ asyncio
471
reduces memory usage.
472
(Contributed by Kumar Aditya in :gh:`107803`.)
473
474
+io
475
+---
476
+* :mod:`io` which provides the built-in :func:`open` makes less system calls
477
+ when opening regular files as well as reading whole files. Reading a small
478
+ operating system cached file in full is up to 15% faster.
479
+ :func:`pathlib.Path.read_bytes` has the most optimizations for reading a
480
+ file's bytes in full. (Contributed by Cody Maloney and Victor Stinner in
481
+ :gh:`120754` and :gh:`90102`.)
482
+
483
Deprecated
484
==========
485
0 commit comments