in reply to Re: Reading HUGE file multiple times
in thread Reading HUGE file multiple times

thanks, will try it right away

Replies are listed 'Best First'.
Re^3: Reading HUGE file multiple times
by BrowserUk (Patriarch) on Apr 28, 2013 at 10:45 UTC

    On my system, the code above indexed a 6.4 million record, 5GB file in 57 seconds.

    1367141700 1367141757 6348909

    Once indexed, accessing the records randomly runs at 1 second per thousand.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.