🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82060

Efficiency of the "mod-active" program

#82060
From: D. Stussy
Date: Sun, 01 Nov 2009 21:23
9 lines
1498 bytes
Currently, for removal or changes to existing groups,
"~news/bin/mod-active" inserts a bunch of perl statements ("next if ..."
for removal, and "s/.../.../" for changes) into a list of commands that are
subsequently evaluated.  Would it run faster if these two categories were
changed into an array similar to that used for inserting newgroups?  "next
if $delete_groups{group_name};" may be faster than all of the statements
inserted.  Comments?

Technical Details
Message-ID: <hcku7o$79q$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hcku7o$79q$1@snarked.org>
Subject: Efficiency of the "mod-active" program
Date: Sun, 1 Nov 2009 13:23:03 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-49-43.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1257110584 7482 71.118.49.43 (1 Nov 2009 21:23:04 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Sun, 1 Nov 2009 21:23:05 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478