Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Large file compare

From: robert:muench:robertmuench at: 9-Jun-2005 9:51

On Wed, 08 Jun 2005 16:32:03 +0200, Gabriele Santilli <[gabriele--colellachiara--com]> wrote:
> Another possibility, could be to process the two files in chunks.
Hi, that's the approach I take. Use a random number generator seeded with the filename for example. Pick some 100KB parts from those big files and compare them with 'checksum. Repeat until you find the first difference. The chances that you will hit the difference is quite high if you always include the first and last 100KB. -- Robert M. M=FCnch Management & IT Freelancer Mobile: +49 (177) 245 2802