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.

  • Comment on Re^2: Speed and memory issue with large files

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

    You're at it again. Not only have you changed the content of this node without attribution, you've also changed the entire tone and meaning of it. You really are underhand.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
A reply falls below the community's threshold of quality. You may see it by logging in.