in reply to Re: Speed and memory issue with large files
in thread Speed and memory issue with large files
Tie::File does not work well on huge files.
Indeed. It memorizes the byte position of the start of every line it has encountered in order to jump to a specific line quickly. This adds up, and that functionality isn't needed here (since there's no need to jump back).
Contrary to what the documentation implies, this memory usage cannot be limited.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Speed and memory issue with large files
by BrowserUk (Patriarch) on Mar 19, 2010 at 19:53 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |