[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X performance suffers under emacs 21.1.1

From: Daniel Ortmann
Subject: Re: X performance suffers under emacs 21.1.1
Date: 12 Dec 2001 21:29:47 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

ShengHuo ZHU <address@hidden> writes:

> Daniel Ortmann <address@hidden> writes:

>>    Rerunning the test in A) gave me 19.0 seconds the second time instead
>>    of 27 seconds.
>>    Rerunning the first test in B) again took only 6 seconds.
>>    The difference seems to be that the slow article is uuencoded, and
>>    the fast one is mime.

> It is because Emacs 21 has a native base64 decoder, but the uu decoder
> is written in emacs-lisp.  To speed it up, you can use the external
> uudecode program, i.e.
>     (setq mm-uu-decode-function 'uudecode-decode-region-external) 

Now I get times almost equally as fast with both uuencoded and mime
images attached.  (I set the variable using customize.)

Would it be reasonable to detect the existence of uudecode at compile
time (virtually a given on unix systems) and set the the default
uudecode to external?  The performance difference is notable.

What do you think?

>> I meant to type, "require a change to the documentation displayed when
>> C-h k g is pressed in a gnus summary buffer".

> I'll fix that.


I think the only remaining item to close is the possibility of detecting
uudecode at compile time and defaulting to running external.

Daniel Ortmann, 2414 30 Av NW, #D, Rochester, MN 55901
address@hidden (h)   / 507.288.7732 (h)
address@hidden (w) / 507.529.3887 (w)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]