GNU bug report logs - #14966
24.3.50; Char-displayable-p is a very long running function

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Sat, 27 Jul 2013 09:49:02 UTC

Severity: minor

Tags: moreinfo, wontfix

Found in version 24.3.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 14966 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Sebastien Vauban <sva-news <at> mygooglest.com>, 14966 <at> debbugs.gnu.org
Subject: Re: bug#14966: 24.3.50;
 Char-displayable-p is a very long running function
Date: Wed, 18 Nov 2020 07:24:21 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: "Sebastien Vauban" <sva-news <at> 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.




This bug report was last modified 4 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.