Ian (lovingboth) wrote,

  • Mood:


File compare. Stolen Adapted from from Unix, it's been around since the early days of DOS. It allows you to compare two files, to see if they're identical, and if not, show the differences.

In its early days, it was ideal to see if that copy of a file onto a floppy was accurate. Now, I sometimes use it to see if the copy onto a CD-R is ok.

How do you think it - the version with Windows 2000 anyway - works? You've got two 700M byte files. How would you compare them?

Read them in small chunks, and compare those?

Or read one entire file into memory, all 700M of it... Even with over a gigabyte of RAM, that results in more hard disk activity as the memory is 'paged' to and from disk.

Yep, it's the latter. At least that's the only reason I can think of for its memory requirements slowly climbing to just over the size of the file.
Tags: highlights, site

  • Failing as snow again, never wanted to..

    A tiny bit, but gosh, this will have been the snowiest winter in London for ages. The walk to school did help me wake up a bit (although I feel the…

  • One for Bad Science?

    Hmm, a Press Association story saying breastfeeding has almost no benefits to the baby has been picked up by the Mail and the Telegraph and... with…

  • Two recent stories

    I've forgotten to go 'hooray' here over this story from a couple of weeks ago: Food labels advice change over Palestinian territories. I am happy to…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened