in reply to Re^4: seeking help for seek function
in thread seeking help for seek function
You are reading file1 all the way thru and then seeking around in it and structure to describe seek positions I assume is gonna be pretty big. Anyway if the data you need from file 1 fits into memory (the stuff that file 2 wants to know), this approach is faster because you don't have to do all the seeking around which is a fairly slow operation. Just an idea.
|
|---|