Article View: news.software.nntp
Article #41344Re: NoCeM & INN2.3
From: Alternative Fluffy
Date: Sat, 06 Nov 1999 00:00
Date: Sat, 06 Nov 1999 00:00
23 lines
2244 bytes
2244 bytes
> Russ Allbery <rra@stanford.edu> wrote: >> Take a look at the binary search trees that innd builds. I think I need >> to continue supporting that in any rewrite, although I don't see any real >> reason to use a tree; a binary search on an array should work just as >> well. Duh. I see what you were talking about now, stuffing the header buffer in the first place rather than searches on a built buffer. That's why I didn't understand why you though it important. I am using a binary search for that, with a lookup table to avoid the expense of calculating the hops (is division still an expensive op on modern hardware? I haven't looked into that in the longest time). I extended that part over to the lookup function last night, with an eye toward making named headers fast and simple to obtain in case someone actually decides to implement the C filters discussed here recently. Now I've just got to work out a couple of container structs so these pointers sliced so many different ways don't make peoples' heads explode.
Technical Details
Message-ID:
<873dujqrsi.fsf@slip-32-100-244-160.ma.us.prserv.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!not-for-mailReferences:
<3819A774.9C57FDCA@boerde.de> <7vei02$1n3@bigred.inka.de> <ylu2n8cokb.fsf@windlord.stanford.edu> <7vhcis$oq9@bigred.inka.de> <yl7lk3llie.fsf@windlord.stanford.edu> <7vicf1$1dh$1@inn.do.mms.mt.nec.co.jp> <ylg0yppcjo.fsf@windlord.stanford.edu> <87yachwck5.fsf@slip-32-100-243-27.ma.us.prserv.net> <ylyachnwki.fsf@windlord.stanford.edu> <87u2n5wa1n.fsf@slip-32-100-243-27.ma.us.prserv.net> <yl66zlnugn.fsf@windlord.stanford.edu> <87puxtw8os.fsf@slip-32-100-243-27.ma.us.prserv.net> <yl7ljy6hbv.fsf@windlord.stanford.edu> <87ogdavort.fsf@slip-32-100-243-27.ma.us.prserv.net>Show Full Headers
Complete Article Headers
Message-ID: <873dujqrsi.fsf@slip-32-100-244-160.ma.us.prserv.net> Subject: Re: NoCeM & INN2.3 Date: Sat, 06 Nov 1999 00:00:00 +0000 From: Alternative Fluffy <gerglery@usa.net> References: <3819A774.9C57FDCA@boerde.de> <7vei02$1n3@bigred.inka.de> <ylu2n8cokb.fsf@windlord.stanford.edu> <7vhcis$oq9@bigred.inka.de> <yl7lk3llie.fsf@windlord.stanford.edu> <7vicf1$1dh$1@inn.do.mms.mt.nec.co.jp> <ylg0yppcjo.fsf@windlord.stanford.edu> <87yachwck5.fsf@slip-32-100-243-27.ma.us.prserv.net> <ylyachnwki.fsf@windlord.stanford.edu> <87u2n5wa1n.fsf@slip-32-100-243-27.ma.us.prserv.net> <yl66zlnugn.fsf@windlord.stanford.edu> <87puxtw8os.fsf@slip-32-100-243-27.ma.us.prserv.net> <yl7ljy6hbv.fsf@windlord.stanford.edu> <87ogdavort.fsf@slip-32-100-243-27.ma.us.prserv.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!not-for-mail X-Deja-AN: 545308743 X-Complaints-To: abuse@prserv.net X-Trace: 6 Nov 1999 20:38:30 GMT, 166.72.86.82 Organization: Feline Front of Judea X-Meow: meow Newsgroups: news.software.nntp