in reply to Netflix (or on handling large amounts of data efficiently in perl)
Alternatively, if one wanted a non-sparse representation, you can use a memory-mapped file with PDL::IO::FastRaw