🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56862

Re: [yEnc] some newbie questions

#56862
From: Liyang Hu
Date: Sun, 24 Feb 2002 02:00
26 lines
2428 bytes
Curt Welch <curt@kcwc.com> wrote:
> > [snip stupid reference to O notation -- brain wasn't switched on]

> And that's not true base 251 encoding.  It's just a close fit to
> allow the algorithm to remain O(N).  If you wanted true base 251
> encoding you would have to treat the entire input file as one huge
> binary numbers and the problem would become O(N^2).

No, you don't need to do that. Google for `Arithmetic Coding', and
ignore any references to statistical modelling.

Hence why I was saying it had not been implemented correctly!

> Maybe there is a way to do that quicker, but I don't know what it
> is.  Feel free to code it and let us do a few timing tests on it
> and see how significant it is or it isn't.

Working on it.

/Liyang
-- 
.--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--.
| "Up your butt with a coconut!"                                         |
| "You've got facial hair like a polar bear!"                            |
|   -- Daphne and Celeste: "Ooh Stick You"                               |
Technical Details
Message-ID: <a59hgh$pk0$2@pegasus.csx.cam.ac.uk>
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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20> <3C74D21B.F49E2F9F@proxad.net> <210220021418431479%planb@newsreaders.com> <a540dn$7i4$7@pegasus.csx.cam.ac.uk> <210220022120391303%planb@newsreaders.com> <a57u73$86r$2@pegasus.csx.cam.ac.uk> <20020223135211.154$cg@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <a59hgh$pk0$2@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] some newbie questions
Date: Sun, 24 Feb 2002 02:00:49 +0000
From: Liyang Hu <newsgroups@nerv.cx>
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20> <3C74D21B.F49E2F9F@proxad.net> <210220021418431479%planb@newsreaders.com> <a540dn$7i4$7@pegasus.csx.cam.ac.uk> <210220022120391303%planb@newsreaders.com> <a57u73$86r$2@pegasus.csx.cam.ac.uk> <20020223135211.154$cg@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Cambridge, England
Lines: 25
Sender: Liyang Hu <lh259@portal.acad.cai.cam.ac.uk>
NNTP-Posting-Host: portal.acad.cai.cam.ac.uk
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.17-xfs+lvm10+intl (i686))