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


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

Hi Is there anyway to skip the sort part! linux sort (with -d and -f) options takes a long time to run! how could I scape that?

Replies are listed 'Best First'.
Re^3: statistics of a large text
by tilly (Archbishop) on Feb 08, 2011 at 15:32 UTC
    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.