Can anyone tell me the fastest way to condense of 2 files. I've tried the normal file access and I've tried the RandomAccessFile library with 8 byte access but both a really slow. Any know a faster way ?
I have compiled it as a release but it's still very slow. Is the a faster way to do a file compare then the ways I mentioned ? Is there any other libraries I can try. Any other thought would be helpful.
How did you the compare? are you comparing each single byte? I would try to read 8k or 16k (or more) in a string and then a string-compare of these 8/16kb each...
Maybe post your code (export as zip) and we have a look
How did you the compare? are you comparing each single byte? I would try to read 8k or 16k (or more) in a string and then a string-compare of these 8/16kb each...
Maybe post your code (export as zip) and we have a look
I would do it like this on Windows if i code with delphi. But as Arel states on post before yours it is not a good idea to to a string-compare cause it where not 100% accurate.