[issue17440] Some IO related problems on x86 windows
Antoine Pitrou
report at bugs.python.org
Sun Mar 17 17:09:08 CET 2013
Antoine Pitrou added the comment:
> The time of line 7 was much greater than line 13.
Well, yes, reading 70 MB is much longer than reading a single byte :-)
> I feel that the underlying system call takes the size argument
Indeed it does. It would be totally inefficient if it didn't.
> so I guess that large value suggests the C compiler to make ask the
> disk subsystem to read up the longer data - hence it takes the time
> since disk access is slower.
It's not the C compiler. It's the OS kernel which reads data from the
disk when you ask to.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17440>
_______________________________________
More information about the Python-bugs-list
mailing list