home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ornl!utkcs2!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Newsgroups: comp.lang.c
- Subject: Re: A better mousetrap
- Message-ID: <1992Dec11.194703.23750@thunder.mcrcim.mcgill.edu>
- Date: 11 Dec 92 19:47:03 GMT
- References: <18287@mindlink.bc.ca> <alien.01tq@acheron.amigans.gen.nz>
- Organization: McGill Research Centre for Intelligent Machines
- Lines: 34
-
- In article <alien.01tq@acheron.amigans.gen.nz>, alien@acheron.amigans.gen.nz (Ross Smith) writes:
- > In article <18287@mindlink.bc.ca> Marc_North@mindlink.bc.ca (Marc North) writes:
-
- >> [...uuencode...less expansion ratio...]
-
- > Standard uuencode (?) : log(256)/log(69) = 1.3096
-
- Standard uuencode expands by 3:4, plus M characters and line breaks;
- fiddling with logarithms is a meaningless exercise when the encoding
- method is well-defined. It's fewer than 69, though, since any system
- that can't take lower case probably can't take a bunch of other
- characters too; uuencode is careful to limit itself to a relatively
- portable set of characters. (For example, all the characters uuencode
- uses are the same under ASCII->EBCDIC->ASCII mapping with any known
- version of the mapping for each step.)
-
- > Limit using ASCII : log(256)/log(95) = 1.2177
-
- I'm glad someone finally did this little bit of arithmetic.
-
- > (BTW, does anyone know *why* uuencode uses only uppercase letters?
- > Surely no mail/news system is so braindead that it mangles case?)
-
- Can you say "card images"? Gooooood! (Notice that uuencode format is
- also tolerant of having every line padded with spaces to 80 columns.)
-
- Few systems will mangle case nowadays. But they exist, and back when
- uuencode was first written, they were (apparently) common enough that
- they had to be kludged around.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-