Re: Binary comparison of files

Marc Brooks <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
The one time it's faster to doing checksum/CRC/Hash based comparisons
is when the value is already known or cheaply computed.  An example of
this is when using FTP... some FTP servers can give you the CRC of the
file, saving you the time it takes to download the entire file.
Another good example is comparing the contents of a ZIP file, where
the CRC is stored in the directory header of the ZIP file which saves
you the trouble of expanding the file to do byte-by-bytes.

-- 
Marc C. Brooks
http://musingmarc.blogspot.com

NOT sent from an iPhone

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.