Is Tie :: File lazily loading a file?

I plan to write a simple text viewer that I believe will be able to process large files. I was thinking about using Tie::Filefor this and how to break lines. Is this loading lines lazily or all at once?

+3
source share
2 answers

It will not download the whole file. From the documentation :

The file does not load into memory, so this will work even for gigantic files.

+8
source

, . , , .

memory.

.

+6

Source: https://habr.com/ru/post/1724680/


All Articles