Newsgroups: news.software.b
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: C news vs B news speed
Message-ID: <1989Jul12.210254.8631@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1989Jul9.223927.29156@elroy.jpl.nasa.gov>
Date: Wed, 12 Jul 89 21:02:54 GMT

In article <1989Jul9.223927.29156@elroy.jpl.nasa.gov> david@elroy.jpl.nasa.gov (David Robinson) writes:
>... tweek it a bit for added performence.  The first and biggest is
>to comment out the  c7decode lines if you never expect to get encoded
>news...

At some point conf/build will probably be modified slightly to at least
suggest doing that.  The c7decode stuff is kind of specialized.

>The other thing I have done which helps if you get many small
>batches (ie from a once a minute NNTP sender) is to rewrite 'spacefor'
>and 'sizeof' into C if you can.  Both are trivial to write but you
>may need a statfs() system call for the former...

I'm contemplating doing some of this myself, in fact, although if I do
use C for spacefor, it will probably popen("df") to do the actual space
finding -- that job is just too system-dependent.
-- 
$10 million equals 18 PM       |     Henry Spencer at U of Toronto Zoology
(Pentagon-Minutes). -Tom Neff  | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
