Does your current code work for your 1GB input file? How long does it take?
In reply to Re: statistics of a large text by BrowserUk in thread statistics of a large text by perl_lover_always