Re: Re: enhancement to mhfinddup

[email protected]
Newsgroups gmane.mail.nmh.devel,gmane.mail.exmh.user
Message-ID <[email protected]>
On Tue, 09 Sep 2008 12:59:50 EDT, [email protected] said:

> Possible enhancement for 1.3 - I'd code and test but am swimming in other work
> today...

Obviously true, because...


> 		if (exists $cached{"$folderpath/$m"}) {
> 			$sum1=$cached{$msgid};
should be 			$sum1=$cached("$folderpath/$m");

> 		} else {
> 			$sum1=md5_hex(@msgbody);
> 			$cached{"$folderpath/$m"}=$sum1;
> 		}

(I coded it up storing based on $msgid, then realized that was the wrong thing
for an index because we're specifically interested in the case where two
files have the same $msgid.. ;)

_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers
signature.asc (application/pgp-signature, 226 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFIxrFJcC3lWbTT17ARAjxbAJ4nhLn9LtWZO/5rEp3+yihrTvfeLQCg65aS
3HAmDp3fLyM/lTzwJP1qYG0=
=HrbH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.