in reply to Loading large amount of data in a hash
DB_File is slow to create, but fast to read. That may or may not be an issue.use DB_File; use Storable; tie %data_parsed, "DB_File", "$hashfil", O_RDWR|O_CREAT, 0666; # inside read data loop $data_parsed{$key} = freeze($array_ref); # inside use data loop $array_ref = thaw($data_parsed{$key});
HTH
Update
Ya know...after taking another glance at this, 800 is a lot of data. Plus, you have a key, and array combination. Perhaps it's time to move up to a full blown database like MySQL or Postgres?
/\/\averick
OmG! They killed tilly! You *bleep*!!
|
---|