🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64609

Re: Newsreader programming - sorting one million lines ?

#64609
From: Juergen Helbing
Date: Mon, 31 Mar 2003 08:52
31 lines
1844 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote:

>Keep in mind that if you use an appropriate algorithm, you
>shouldn't need random access.  And linear access can be cached
>quite nicely by your operating system (and the drive itself).

Yes, indeed.
I was hoping to find some kind of good sorting algorithm with
mostly 'linear' disk access. And it seems that the "good old"
algorithms are still them same as 25 years ago.

>I don't *mind* -- but I think you'd have more _success_
>elsewhere.

Perhaps you are right.
But all people I've met until now told me that a true database
would be the best. Of course my faible to use a full database
software "just to run a newsreader" was pretty low. And especially
the expiry - and the amount of sorting features might blow up
the required volume for harddisk space enormously.
So the latest experiences from that guy who has a 
"lighting fast database" makes me re-evaluating my approach.

Thanks for your feedback. It helped a lot.

-- 
Juergen



Technical Details
Message-ID: <3952a.v33200@archiver.winews.net>
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!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.alt.net!usenet
References: <4540d.o33203@archiver.winews.net> <b5pkd8.1kg.1@Heiko.Studt.dialin.t-online.de> <11387.q33208@archiver.winews.net> <b5tj8r$db5$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <3952a.v33200@archiver.winews.net>
Subject: Re: Newsreader programming - sorting one million lines ?
Date: Mon, 31 Mar 2003 08:52:39 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <4540d.o33203@archiver.winews.net> <b5pkd8.1kg.1@Heiko.Studt.dialin.t-online.de> <11387.q33208@archiver.winews.net> <b5tj8r$db5$2@puck.litech.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 30
X-Newsreader: MyNews