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
Replying to
It looks like this is the relevant piece of code within Python. github.com/python/cpython
I'll have to do more digging into this.
3

