unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14966: 24.3.50; Char-displayable-p is a very long running function
@ 2013-07-27  9:47 Sebastien Vauban
  2013-07-27 10:49 ` Eli Zaretskii
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Sebastien Vauban @ 2013-07-27  9:47 UTC (permalink / raw)
  To: 14966-ubl+/3LiMTaZdePnXv/OxA

Hello,

When looking at the performance of my .emacs at startup time, I've noticed
that (char-displayable-p) takes around 400 ms (!) to execute itself...

--8<---------------cut here---------------start------------->8---
     (setq org-ellipsis
           (if (char-displayable-p ?\u25B7) ;; white right-pointing triangle
               " \u25B7" ;; string
             'org-ellipsis))) ;; face
--8<---------------cut here---------------end--------------->8---

This figure is obtained on my (recently bought, from January 2013) i7 laptop,
when running on mains. If running on battery, that figure would even be
multiplied by a factor ~3.5.

Best regards,
  Seb

-- 
Sebastien Vauban





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-11-18 18:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-27  9:47 bug#14966: 24.3.50; Char-displayable-p is a very long running function Sebastien Vauban
2013-07-27 10:49 ` Eli Zaretskii
2013-07-27 11:59 ` Andreas Schwab
2013-07-27 14:21 ` Stefan Monnier
     [not found] ` <mailman.1908.1374926410.12400.bug-gnu-emacs@gnu.org>
2013-07-29  8:10   ` Sebastien Vauban
2013-07-29 16:24     ` Eli Zaretskii
2020-11-18 15:24       ` Stefan Kangas
2020-11-18 17:13         ` Eli Zaretskii
2020-11-18 18:29           ` Stefan Kangas
     [not found] ` <mailman.1910.1374927252.12400.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.1910.1374927252.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-29  8:18     ` Sebastien Vauban
     [not found] ` <mailman.1923.1374934927.12400.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.1923.1374934927.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-29  8:19     ` Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).