[issue11114] file.tell extremely slow
report at bugs.python.org
Fri Feb 4 15:10:50 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
That's expected. seek() and tell() on text (unicode) files are slow by construction. You should open your file in binary mode instead, if you want to do any seeking.
Maybe I should add a note in http://docs.python.org/dev/library/io.html#performance
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list