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

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

bug#14966: 24.3.50; Char-displayable-p is a very long running function


From: Stefan Kangas
Subject: bug#14966: 24.3.50; Char-displayable-p is a very long running function
Date: Wed, 18 Nov 2020 07:24:21 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Sebastien Vauban" <sva-news@mygooglest.com>
>> Date: Mon, 29 Jul 2013 10:10:36 +0200
>>
>> I'm striving for a sub-second Emacs startup time, I'm only
>> interested in the first time...
>
> The usual way of solving this is to start Emacs only once, and leave
> it running at all times.

The reported problem is that `char-displayable-p' takes too long to run
the first time it is called after starting a fresh Emacs.

The recipe is:

0. emacs -Q
1. (benchmark-run 1 (char-displayable-p ?\u25B7))

(The above takes 200ms here.)

Is this something we will want to do something about or is this all
working as expected?  The discussion in the bug report suggests that
this is indeed something that we can live with.





reply via email to

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