P is for Practical | |
PerlMonks |
Re^4: numeric representation of stringby Lawliet (Curate) |
on Aug 16, 2013 at 11:41 UTC ( [id://1049730]=note: print w/replies, xml ) | Need Help?? |
If you are to do a full cross-compare of all your emails one against the other, you are looking at an O(N2) (or O(N!) if you're smart about it) process. Did you forget a word? I'd be interested to see the case where the smart algorithm is O(N!), and the naive one is O(N2).
In Section
Seekers of Perl Wisdom
|
|