Path: utzoo!utstat!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!well!jef From: jef@well.sf.ca.us (Jef Poskanzer) Newsgroups: news.software.b Subject: Re: Cnews and old news Message-ID: <20730@well.sf.ca.us> Date: 24 Sep 90 06:52:56 GMT References: <1990Sep23.042833.24834@zoo.toronto.edu> Reply-To: Jef Poskanzer Organization: Paratheo-Anametamystikhood Of Eris Esoteric, Ada Lovelace Cabal Lines: 20 In the referenced message, henry@zoo.toronto.edu (Henry Spencer) wrote: }The trouble is that getdate() is relatively }costly and Geoff is reluctant to run it on every single article ...and then all sorts of people started coming up with rube goldberg schemes to avoid parsing dates. However, it turns out that even using C news's getdate (which is 10% slower than the B news version), parsing the dates in every article in a full Usenet feed takes about five Sun 3 CPU seconds per day. And if you were to use the lex-based date parser included in the MH distribution, you could get it down below a second per day, although it hardly seems worth the (minimal) effort. 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. --- Jef Jef Poskanzer jef@well.sf.ca.us {ucbvax, apple, hplabs}!well!jef "Everything that needs to be said has already been said. But since no one was listening, everything must be said again." -- Andre Gide