If your CSV file is sorted on the employee_name field, you could try a slightly modified binary search. Its a little tricky - seek to the middle of each search span, parse the second line from that point, and use tell to keep track of your position. I don't know if this would gain you anything unless the file was too large to load into memory.
In reply to Re: Better Way to Search Large File.
by hangon
in thread Better Way to Search Large File.
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |