From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: 14966-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#14966: 24.3.50; Char-displayable-p is a very long running function
Date: Sat, 27 Jul 2013 11:47:30 +0200 [thread overview]
Message-ID: <86d2q4e3m5.fsf@somewhere.org> (raw)
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
next reply other threads:[~2013-07-27 9:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-27 9:47 Sebastien Vauban [this message]
2013-07-27 10:49 ` bug#14966: 24.3.50; Char-displayable-p is a very long running function 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86d2q4e3m5.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=14966-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).