in reply to Re^2: Delay when write to large number of file
in thread best way to fast write to large number of files
As it currently is, you are doing 18k open+close per file. Open and close are slow on Windows. With my approach, you will reduce the number of open+close. If you process more than one file before writing the output, you can reduce the number of open+close per client even more.
Perl has no limit for the array size other than available memory.
|
|---|