Article View: news.software.readers
Article #85707Re: xnews filesize
From: Robert Amesz
Date: Thu, 18 Oct 2001 01:27
Date: Thu, 18 Oct 2001 01:27
29 lines
2246 bytes
2246 bytes
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 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. Robert Amesz
Technical Details
Message-ID:
<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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@The.Hot.Dogg.House>Show Full Headers
Complete Article Headers
Message-ID: <Xns913E207A2FE7Frcamesz@amesz.demon.nl>
Subject: Re: xnews filesize
Date: Thu, 18 Oct 2001 01:27:26 -0000
From: Robert Amesz <reqhye72zux@mailexpire.com>
References: <Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@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!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: Xnews/4.06.22 Hamster/1.3.22.104
X-Face: i/!"w>!GV8UL{^20`L2OEvvFz(T"{bFYn2<:u"5<4Blsl-isl(bTDMKVqWL?nk-VY7[[);j =yB|s]|c3nRG4c7^1#+/(D)v4ToNC;PoE=\7baN'i75%+2NhzndU~qJUTI*-v[R"l)Q$GOX3o(-#7C iY6a`%._v`G8cG`!/3,mt?pkyvjv3f}\-mZiNnXJ9EK~D>Qs(ckW8yam<<T!\Kf>`wtj3>eEAAV\
Reply-To: rcamesz@dds.nl
X-Complaints-To: newsabuse@supernews.com
Lines: 28