Article View: news.software.readers
Article #867Re: xrn taking up lots of memory (was Re: XRN exi
From: Terry Poot
Date: Thu, 07 Nov 1991 12:44
Date: Thu, 07 Nov 1991 12:44
44 lines
3082 bytes
3082 bytes
In article <1991Nov6.222442.20560@athena.mit.edu>, jik@athena.mit.edu (Jonathan I. Kamens) writes: >In article <1991Nov6.132447@mccall.com>, tp@mccall.com (Terry Poot) writes: >|> It seems perfectly logical and correct to me. It could maybe be better by >|> keeping a rolling buffer of a maximum number of headers, and getting ranges >of >|> headers when the user scrolls out of the buffer. > >Such a feature would significantly complicate the code that does subject line >displaying and retrieval in several different respects. Absolutely, and probably introduce many subtle bugs. But done properly it might be more robust for systems with less memory. (That's why I said "maybe".) >As you've already >pointed out, very few people actually view newsgroups with huge numbers of >unread postings in them, so it almost certainly isn't worth the effort. Actually, after I posted that, I thought of one complication (which should be of special interest to you! :-) ), FAQ's. Since they tend to have long expirations, there may be a significant "hole" between the FAQ posting and the first current article. There is not a simple, obvious (to me) solution to this. One would have to do some analysis (how big is that hole for typical high-volume groups at various times in the FAQ posting cycle, for instance). It might actually tip the efficiency balance towards a different data structure. I've got a dynamic sequence (sort of like an expandable array) package that might be a good fit if anyone wants it (I'll probably regret saying that). It tries to be efficient about memory allocation, while hiding all that from the user. Of course, the changes to the code would likely be massive (I haven't actually looked at the code in question). >|> Also, I don't know if NNTP provides a way to get a >|> specific range of headers. > >It does. Now if it could only provide the number of actual articles, rather than just the range of article numbers. :-) -- Terry Poot <tp@mccall.com> The McCall Pattern Company (uucp: ...!rutgers!ksuvax1!deimos!mccall!tp) 615 McCall Road (800)255-2762, in KS (913)776-4041 Manhattan, KS 66502, USA
Technical Details
Message-ID:
<1991Nov7.064448@mccall.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!rutgers!ub!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!mccall!tpReferences:
<1991Oct30.185507.20043@objy.com> <sherman.689246642@foster> <1991Nov6.222442.20560@athena.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <1991Nov7.064448@mccall.com> Subject: Re: xrn taking up lots of memory (was Re: XRN exi Date: Thu, 07 Nov 1991 12:44:48 +0000 From: tp@mccall.com (Terry Poot) References: <1991Oct30.185507.20043@objy.com> <sherman.689246642@foster> <1991Nov6.222442.20560@athena.mit.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!rutgers!ub!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!mccall!tp Newsgroups: news.software.readers Keywords: xrn Reply-To: tp@mccall.com (Terry Poot) Organization: The McCall Pattern Co., Manhattan, KS, USA Lines: 44 Nntp-Posting-Host: mis1 Nntp-Posting-User: tp