It is not whether you "depend on the files being sorted", but whether it is a fact that the file is sorted.
If it is (for example it could be some sort of log), to hold the entire file in momery is then a waste.
In reply to Re^2: Delete duplicate data in file
by pg
in thread Delete duplicate data in file
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |