🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7060

expire performance enhancement

#7060
From: T. William Wells
Date: Tue, 30 Apr 1996 00:00
17 lines
1269 bytes
Ever notice how it seems to take *forever* to run through the
history file? Well, last night, I was hacking on expire and noted
that it has a hash table for newsgroups. However, there are only
128 buckets in the table. I set it to 2048 and cut the processing
time to what looks to be about half of the original. I didn't
experiment to see what the best size would be.

BTW, the hack I added: a flag X in expire.ctl that says that if
an article matches that line then the article gets expired in
_all_ the groups it's cross-posted to. This is a space-saver for
when someone cross-posts between binaries and non-binaries; it's
especially useful if you use -l.  That it also zaps small posts
cross-posted into the binaries groups doesn't bother me in the
slightest....

Technical Details
Message-ID: <Dqp091.7q3@twwells.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Dqp091.7q3@twwells.com>
Subject: expire performance enhancement
Date: Tue, 30 Apr 1996 00:00:00 +0000
From: bill@twwells.com (T. William Wells)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 152292555
Organization: None, Mt. Laurel, NJ
Newsgroups: news.software.nntp