From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Inefficiency in mm-uu.el
Date: 29 Nov 1998 15:44:22 +0100 [thread overview]
Message-ID: <kigd8668sop.fsf@jagor.srce.hr> (raw)
In-Reply-To: Shenghuo ZHU's message of "29 Nov 1998 04:26:20 -0500"
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> >>>>> "HN" == Hrvoje Niksic <hniksic@srce.hr> writes:
>
> HN> The uuencode interface to mm seems very inefficient, because of
> HN> two separate reasons. When I `g' a message containing a, say, an
> HN> uuencoded image, it insists on decoding the uuencoded region (I
> HN> can tell by the time `g' takes and by the conducted profiles.)
>
> HN> When I click on the image button to show it, it decodes it again.
> HN> Why this double encoding?
>
> The first decoding is due to mm-inlinable-p. With the attached
> patch, each type is tested at most once in a session.
Cool, thanks.
> HN> The other question is about the strange default -- the code
> HN> defaults to using the internal, elisp-based decoding, even when
> HN> a perfectly valid `uudecode' is found on the system. This makes
> HN> decoding of large stuff (and uuencoded stuff is large, more
> HN> often than not) abysmally slow, even on very very fast machines.
> HN> I can imagine that on slower machines it's closer to "unusable".
>
> Do you mean to automatically setup mm-uu-decode-function by
> searching uudecode on the system at loading time of mm-uu.el?
Yes.
> If so, please feel free to patch it.
Yes, if Lars will accept the patch. I seem to recall he said
something about "not trusting external programs" for base64, so I
don't know if it applies to uuencode. Lars?
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
You know it's going to be a bad day when your twin brother forgot
your birthday.
next prev parent reply other threads:[~1998-11-29 14:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <kigaf1d3ya0.fsf@jagor.srce.hr>
1998-11-29 9:26 ` Shenghuo ZHU
1998-11-29 14:44 ` Hrvoje Niksic [this message]
1998-11-29 21:37 ` Lars Magne Ingebrigtsen
1998-11-29 23:06 ` Hrvoje Niksic
1998-11-30 13:59 ` Jan Vroonhof
1998-11-30 14:29 ` Steinar Bang
1998-11-30 14:41 ` Jean-Yves Perrier
1998-11-30 17:15 ` Jan Vroonhof
1998-11-29 21:31 ` Lars Magne Ingebrigtsen
1998-11-29 23:08 ` Hrvoje Niksic
1998-11-30 2:46 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kigd8668sop.fsf@jagor.srce.hr \
--to=hniksic@srce.hr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).