Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Generate unique ids of maximum lengthby lima1 (Curate) |
on Apr 13, 2010 at 11:07 UTC ( [id://834463]=note: print w/replies, xml ) | Need Help?? |
Hm, good point. Probably something like the edit distance, but with the preference to keep the prefix and suffix to make the ids readable. So one simple algorithm would optimize the sum of edit distances under the constraint that the ids have to be unique.
In Section
Seekers of Perl Wisdom
|
|