in reply to Re: Question regarding Tie::File or a better way to handle huge 2-D arrays
in thread Question regarding Tie::File or a better way to handle huge 2-D arrays

Use strings instead of arrays.

Tie::File uses tied arrays, and (as far as I know) they are implemented in a way that not all of their elements are held in memory at the same time.

  • Comment on Re^2: Question regarding Tie::File or a better way to handle huge 2-D arrays

Replies are listed 'Best First'.
Re^3: Question regarding Tie::File or a better way to handle huge 2-D arrays
by BrowserUk (Patriarch) on Aug 23, 2008 at 22:13 UTC

      Sorry, I thought you were implying that Benbo's code uses (ordinary) arrays, and I just wanted to point out that his arrays are not ordinary.

      Anyway, as we can see from Benbo's last note, your suggestion was fine and somehow I have misunderstood both of you..