🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21489

Re: 64bit history patch for 1.5.1?

#21489
From: coneill
Date: Fri, 12 Sep 1997 00:00
31 lines
2028 bytes

drechsau@yuck.net (Mike Horwath) writes:

> Evan Champion <evanc@synapse.net> wrote:
> : In fact, because Clayton's code should have a lower memory footprint,
> : doesn't require long long, and is really easy to install, I can't really
> : think of a situation where I would choose Joe's dbz over Clayton's,
> : unless one felt that Clayton's code is "too adventurous" :-)
> 
> Lower memory footprint?
> 
> From the readme:
> 
> - Storing the hash in the .pag file increases the size of it by 150%.
> mmap()'ing this may no longer be practical for many people.  However,
> I've found this code to be faster than the old code even if you don't
> mmap the .pag file.  I encourage people to try this, since it'll save
> you 30, 50, or 100mb of ram if you don't have to mmap it.  Of course
> if you've got 2gb of ram in your feed box then, by all means, mmap the
> .pag file.
> 
> How is it smaller if it grows by 2.5x?

Joe's code increases the footprint by 100%.  My next version of my dbz
code will decrease the footprint to 6-8 bytes, making it the same, or
less than Joe's code.  Also, you'll probably get better performance
out of my code than Joe's even if you don't mmap the .pag file.


Technical Details
Message-ID: <86k9gmtxny.fsf@blah.erols.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
References: <5u71fs$ijg$1@neptune.uniserve.com> <5u71pj$pdl$2@news1.exit109.com> <872886762.434483@corp.uniserve.com> <5upgj7$aop$1@earth.execpc.com> <34107068.669DE48B@synapse.net> <5uus8a$2u9$5@darla.visi.com> <3415FFDB.2016DECA@synapse.net> <5vbftd$6t4$8@darla.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <86k9gmtxny.fsf@blah.erols.com>
Subject: Re: 64bit history patch for 1.5.1?
Date: Fri, 12 Sep 1997 00:00:00 +0000
From: coneill@blah.erols.com
References: <5u71fs$ijg$1@neptune.uniserve.com> <5u71pj$pdl$2@news1.exit109.com> <872886762.434483@corp.uniserve.com> <5upgj7$aop$1@earth.execpc.com> <34107068.669DE48B@synapse.net> <5uus8a$2u9$5@darla.visi.com> <3415FFDB.2016DECA@synapse.net> <5vbftd$6t4$8@darla.visi.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
X-Deja-AN: 271895108
Organization: Erol's Internet Services
X-Received-On: 12 Sep 1997 14:27:32 GMT
Newsgroups: news.software.nntp