emacs-devel
[Top][All Lists]
Advanced

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

Re: X performance suffers under emacs 21.1.1


From: ShengHuo ZHU
Subject: Re: X performance suffers under emacs 21.1.1
Date: Fri, 14 Dec 2001 00:40:30 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu)

Daniel Ortmann <address@hidden> writes:

> 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?

Done in the Gnus CVS. Detecting happens not in compile time, but in
loading time.

ShengHuo



reply via email to

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