Here are the code fragments proper. I am sorry that I have not had the time to make these presentable. They have run on a moderately large Unix directory of ascii files, on big endian machines.
How to find differences between remote files without transmitting them first.