Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: finding and deleting repeated lines in a fileby Aristotle (Chancellor) |
on Jun 19, 2002 at 19:49 UTC ( [id://175829]=note: print w/replies, xml ) | Need Help?? |
A suggestion to avoid possible collisions: if CPU time is not a concern, using several different algorithms to create multiple fingerprints increases the improbability of a collision to astronomically high figures. Even using the same algorithm on the original string and a variant created by some transliteration rules to obtain multiple fingerprints will exponentially decrease the probability of collisions.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|