|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^2: write hash to disk after memory limitby LanX (Saint) |
| on Mar 14, 2015 at 00:24 UTC ( [id://1120013]=note: print w/replies, xml ) | Need Help?? |
|
> Today, for a 17 GB data structure I'd seriously consider just buying more RAM so I could get back to work. And when his laboratory gets expanded to output 170GB he's supposed to run and buy 10 times more RAM? Clever algorithms pay off buy scaling silently without causing such troubles. Only counting the day you spend designing is a miscalculation... Look at the code he showed us and how just re-sorting the dimensions of his data structure will reduce any swapping dramatically.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||