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


in reply to Re^2: statistics of a large text
in thread statistics of a large text

No, there isn't. Sorting does the actual work, and therefore takes the bulk of the time. If it is too slow, then it is time for you to look into distributing (and parallelizing) the work with Hadoop.