Newsgroups: news.software.b
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Cnews and old news
Message-ID: <1990Sep24.154021.27283@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <1990Sep23.042833.24834@zoo.toronto.edu> <20730@well.sf.ca.us>
Date: Mon, 24 Sep 90 15:40:21 GMT

In article <20730@well.sf.ca.us> Jef Poskanzer <jef@well.sf.ca.us> writes:
>... it turns out that even using
>C news's getdate (which is 10% slower than the B news version)

I'm a little curious to know where the timing difference comes in, because
C News getdate *is* the B News getdate.  The only thing we did to it was
a small fix that John Gilmore (I think) pointed out, for an unchecked array
bound.

> parsing
>the dates in every article in a full Usenet feed takes about five Sun 3
>CPU seconds per day...

The question is not absolute time but relative time:  how much does it add
to the time needed to file articles?  I am frankly surprised that it's
this quick, actually; some investigation is in order.

>Would anyone care to post a patch to have C news do the date check?
>Seems like it should be about two lines of code.

It's not quite that easy.  C News doesn't even notice the Date header
at present; we don't even parse headers we don't need to know about.
-- 
TCP/IP: handling tomorrow's loads today| Henry Spencer at U of Toronto Zoology
OSI: handling yesterday's loads someday|  henry@zoo.toronto.edu   utzoo!henry
