We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77520a commit eefb97cCopy full SHA for eefb97c
1 file changed
Doc/library/io.rst
@@ -814,6 +814,8 @@ Text I/O over a binary storage (such as a file) is significantly slower than
814
binary I/O over the same storage, because it implies conversions from
815
unicode to binary data using a character codec. This can become noticeable
816
if you handle huge amounts of text data (for example very large log files).
817
+Also, :meth:`TextIOWrapper.tell` and :meth:`TextIOWrapper.seek` are both
818
+quite slow due to the reconstruction algorithm used.
819
820
:class:`StringIO`, however, is a native in-memory unicode container and will
821
exhibit similar speed to :class:`BytesIO`.
0 commit comments