Re: [Evolution] Duplicates removal



Thoughts:
- surely it shouldn't be automatic, manual, with short-cut.

- the algorithm should be working that way so it doesn't delete
different messages. But if he misses some duplicates it is ok. It might
be based on headers I think, no body comparision is needed. If header is
changed - ok, we miss some duplicates.

- there is already successul implementation used by big number of users,
TheBat, which has "Kill Duplicates" action on folder. May be you can
just "import" the algorithm from it? It is described in its help system
in details. I was using it for a long time and I was satisfied on its
success/miss ratio.

Which of the duplicates are to be kept??

For example: The one in my Inbox or the one in my archives?

...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]