Why mmap() is faster than sequential IO? [duplicate]
I heard (read it on the internet somewhere) that mmap() is faster than sequential IO. Is this correct? If yes then why it is faster? It can be – there are pros and cons, listed below. When you really have reason to care, always benchmark both. Quite apart from the actual IO efficiency, there are … Read more