kriskdf wrote:
A find and replace should not take that long for a file that size. You could write an algorithm to do it in far less time than that. In fact, the Visual Studio find and replace is very quick. It is orders of magnitude faster than find
and replace in Notepad.
Ok. Do one and tell me how long it takes.
Mine reads a line at a time, checks it and writes
out the line with changes to an output file.
Sequential reads and writes are about as fast
as you will get. Note. I seldom use the search and
replace.
The largest file I search is my outmail file which is 30MB
It is different from most files I search, in that there are
a multitude of copies of my resume there. I search this
file a little different from the others for that reason.
This search always produces results in context.
(unless you specify matching lines only)
In a simple search for 10 occurances throughout a
70MB file and this one will show you the data in
context much much faster than any indexing search.
No context = no good
It takes years for people to accumulate 100MB of text
from email, notes and stuff copied from the net. For that
amount of data. Yes Indexing is OverKill!!!!!!
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.