Article View: news.software.readers
Article #85713Re: xnews filesize
From: fD
Date: Thu, 18 Oct 2001 05:20
Date: Thu, 18 Oct 2001 05:20
41 lines
2903 bytes
2903 bytes
Robert Amesz <reqhye72zux@mailexpire.com> offered, in news:Xns913E207A2FE7Frcamesz@amesz.demon.nl: > fD wrote: > >> [filesizes of binaries] >> >> One thing to keep in mind is that the encoding process of >> turning a binary into text is that it increases the file >> size roughly 50% to 100%, or even more in cases. This >> means if a file is 1MB once downloaded and decoded, you >> will probably have to dl 1.5MB or more of data. > > That can't be right. Both UUENCODE and BASE64 encode 6 bits You're right. Sorry, I got carried away and used bogus numbers to boot. I believe file sizes can approach what I stated in extreme cases (like when a large binary is split into many small pieces, resulting in lots of extra header overhead), but I created a false impression and I should know better. > per byte, and there's some overhead because it's chopped up > into relatively short lines. A typical line would have a > payload of 60 characters, yielding 45 bytes of real data. > For UUENCODE, there's an overhead of 3 bytes per line > (length code + CR + LF), so the total cost for each line > rises to 63. That means a file will get 63/45, or 1.42 times > as long. Using BASE64 (aka MIME encoding; it has only two > bytes overhead per line) and using 72 characters (yielding a > 54 byte payload) per line this would be 1.37. > > The fixed overhead per message is harder to estimate, but > will be roughly 1 to 2 Kb. For files of a 100 Kb this would > add 0.01 to 0.02 to the ratios above, but 1.44 is still well > below the 1.5 to 2.0, as stated above. -- fLameDogg "There's no such thing as a holy war, only unholy ones." God, as quoted in the Onion, September 26, 2001.
Technical Details
Message-ID:
<Xns913E1D173FF4imamidnighttoken@The.Hot.Dogg.House>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!host-216-76-253-87.pns.bellsouth.NET!not-for-mailReferences:
<Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@The.Hot.Dogg.House> <Xns913E207A2FE7Frcamesz@amesz.demon.nl>Show Full Headers
Complete Article Headers
Message-ID: <Xns913E1D173FF4imamidnighttoken@The.Hot.Dogg.House>
Subject: Re: xnews filesize
Date: Thu, 18 Oct 2001 05:20:33 +0000
From: fD <flamedogg@hotmail.com>
References: <Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@The.Hot.Dogg.House> <Xns913E207A2FE7Frcamesz@amesz.demon.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!host-216-76-253-87.pns.bellsouth.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 40
NNTP-Posting-Host: host-216-76-253-87.pns.bellsouth.net (216.76.253.87)
X-Trace: fu-berlin.de 1003382433 25698827 216.76.253.87 (16 [51796])
User-Agent: Xnews/4.06.22
X-Face: %8=mmAAFvK^.+sI[NQr`@AKy8U:=hw:eip].hZR"cLMO9+o1<t$E!"8aUv_78|DPA[GA!U=%n89`?O6M)ffcQvtZXYjsW+ZR@~d<r{F4_>iRd!kp!.J}>N&|byZ!5;`44f|*a=lZc[CC,EgWj;sndR|W_zT#SFm72sC^nhN~!GTA(8dmhs#YZ.TIC`}wz!W~)X8{yUo.-AkvK,~lB(9)jWpUg<d??2