[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mandating PERL for ZMailer system ??



Hi,

Andy Poling:
> > [ Marrying Perl and Zmailer ]
> 
> He should have - it violates one of the primary goals of zmailer:
> efficiency.

On the other hand, it would allow us to get rid of a lot of cruft,
including the idea that you can do without reasonable memory management.


NB, sort-of-completely-unrelated question: Is there a sensible reason
why Zmailer doesn't do any negative cashing? It would seem that
fixing this would be _really_ trivial.

Index: base.258/router/db.c
--- base.258/router/db.c Mon, 14 Jun 1999 05:00:54 +0200 smurf (net_mail_zmailer/f/17_db.c 1.6.1.6.1.8 664)
+++ test.45(w)/router/db.c Fri, 21 Jan 2000 09:54:24 +0100 smurf (net_mail_zmailer/f/17_db.c 1.6.1.6.1.11 664)
@@ -900,12 +905,14 @@
 	} else {
 		if (D_db)
 			fprintf(stderr, "NIL\n");
+#if 0
 		if (dbip->cache_size > 0) {
 			stickymem = oval;
 			free(realkey);
 		}
 		UNGCPRO3;
 		return NULL;
+#endif
 	}
 	if (!deferit && dbip->cache_size > 0) {
 		i = j;

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
No experiment is ever a complete failure, inasmuch as a well-written
account of it can serve admirably as a bad example.