i considered 2.6 lakh records and whole program is timed hash versus grep, believe me, grep is out of question, its taking time as good as counting from 1 to 2.6 lakh.
i guess i have made a poor choice of using grep in this scenario, but indeed grep cannot be used when it comes to huge data.
Comment on Re^2: Needed Performance improvement in reading and fetching from a file