in reply to Faster and more efficient way to read a file vertically
If speed is of high priority, one shouldn't overlook the mmap() approach using File::Map. It has its limitations (no piped data) but it allows regular files to be efficiently handled as one big string.
|
|---|