bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51523: 29.0.50; gnus-mime-view-part-externally very slow


From: Lars Ingebrigtsen
Subject: bug#51523: 29.0.50; gnus-mime-view-part-externally very slow
Date: Mon, 01 Nov 2021 01:04:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Not sure if it's large or not, it's whatever comes with Debian, AFAIK.
> (length (mailcap-mime-types)) says 1181,
> and (benchmark-run 1 (mapcar #'mailcap-mime-info (mailcap-mime-types))))
> tells me it takes about 4s.

(length (mailcap-mime-types))
=> 1636

I'm assuming my machine isn't...   (/ 4.0 0.02) => 200x faster than
yours, so is there something in the files that's making Emacs freak out?

(benchmark-run 1 (find-auto-coding "/etc/mailcap" 4096))
=> (5.4144e-05 0 0.0)

here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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