Does anyone familiar with Python internals know if Python does some type of read-ahead when seeking to a position in a file? I'm noticing that seek commands are taking up more time than expected and I'm curious if there is a read involved with seeks.
Maybe strace will give clues
Conversation
The reason I bring this up is because I'm designing a binary search module and if seek causes an unnecessary read-ahead it will cause additional latency.


