in reply to Re: Opine on multiple open filehandles vs. multiple loops through data
in thread Opine on multiple open filehandles vs. multiple loops through data

Sadly, the files aren't perfectly sorted. At the month changeover, there are dozens of lines out of order. I assume that the server wrote the lines in batches, and didn't bother with FIFO.

However, the bulk of each month is ordered properly. I think trying it your way would be fine -- even if it has to close/open/reopen files 20 times during the change of each month, that's still probably A-OK. Overall, that's just maybe 750 open/closes. Oh. Maybe that is a bit much. Hmm.

Well, it's something to test out, to see how speedy it is. Thank you. :)

  • Comment on Re^2: Opine on multiple open filehandles vs. multiple loops through data