What is the fastest way to search huge multi-megabyte files?
VEDIT is fastest searching forwards through a file. In fact, the search or search/replace functions are almost as fast as simply copying the file. However, returning to the beginning of a file from the end of a file is slower than forward-searching. Therefore, note the following suggestions to speed up editing in huge file: • Set {CONFIG, Search options, Restore edit position on error} to “2” instead of “1”. This saves a lot of time in case the search fails; you are simply left at the end of the file. • Avoid backward-searching (from the end of the file toward the beginning of the file), which is much slower than forward-searching. • On huge 50+ megabyte files, avoid the time-consuming {GOTO, Beginning of file} function when you are at the end of the file. It is much faster to close the file and re-open it.