in reply to Seek, whence 0 or 1
Speed in this case is a complete non-issue. Any trivial difference there may be in calculating the file position will be completely swamped by the file systems' machinations in repositioning the file I/O pointer. Use whatever is clearest in intent and easiest to maintain. You will save orders of magnitude more time that way than any execution time that may be saved, or even the time spent pondering the question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seek, whence 0 or 1
by Hena (Friar) on Jun 28, 2006 at 08:14 UTC | |
by GrandFather (Saint) on Jun 28, 2006 at 08:34 UTC |