http://qs321.pair.com?node_id=556518


in reply to Re^3: slurped scalar map
in thread slurped scalar map

In principle I agree, except on one important detail.

How can the OS buffer multiple small seek/read operations as effectively as when it is doing a single seek to start-of-file and performing a large sequential read of the entire content?

On Unix systems the readahead buffer is continuously increased with logic something like "ok you're still reading sequentially - let me double the readahead buffer when doing the next read".

Niel