Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
I'm trying to Marshal a 60gb (2.07 billion lines) but the thing is going to take about a day to process before I Marshal it (rough calculations). WTF? That's 0.5Mb/s.
while(line = file.gets) or file.each do |line| similarly slow. Any alternatives?
while(line = file.gets) or file.each do |line| similarly slow. Any alternatives?