Using filepath method to identify an .html page

Michael Torrie torriem at gmail.com
Wed Jan 23 16:25:36 CET 2013


On 01/23/2013 12:25 AM, Ferrous Cranus wrote:
> <some perl code>
> Using that method ABC.html and CBA.html now have different values
> because each letter position's value gets bumped up increasingly from
> left to right.

You have run this little "hash" algorithm on a whole bunch of files, say
C:\windows\system32 right?  And how many collisions did you get?

You've already rejected using the file path or url as a key because it
could change.  Why are you wanting to do this hash based on the file's
path or url anyway?




More information about the Python-list mailing list