http://www.perlmonks.org?node_id=843022


in reply to Re: Optimizing a double loop
in thread Optimizing a double loop

The run time for any solution will be dictated by disk I/O time. At least some options are:

Of course those options aren't exclusive so you may be able to apply some or all of them. The way the files are generated may exclude some options too.

True laziness is hard work