Re: [Evolution] Deleting duplicate emails
- From: guenther <guenther rudersport de>
- To: HvR <hvrietsc myrealbox com>
- Cc: evolution lists ximian com
- Subject: Re: [Evolution] Deleting duplicate emails
- Date: Fri, 22 Aug 2003 14:57:38 +0200
If the md5sum hashes are different, the messages are guaranteed to be
different. If the hashes are the same, there is always a slight
probability, that the messages are *NOT* the same.
true one in a multi billion chance.. so i will take my chances, after
all the chance of getting a bit error on my hard disk are bigger then
that, your solution with formail is much easier on the cpu, but the
probability of email systems generating the same message-id header
are much much larger then a md5sum clash... ;-)
Doh -- I missed that point. Sure, you're right there...
...guenther
--
char *t="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]