From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#14966: 24.3.50; Char-displayable-p is a very long running function Date: Sat, 27 Jul 2013 11:47:30 +0200 Organization: Sebastien Vauban Message-ID: <86d2q4e3m5.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374918550 8790 80.91.229.3 (27 Jul 2013 09:49:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2013 09:49:10 +0000 (UTC) To: 14966-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Sat Jul 27 11:49:10 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V317e-0005QT-M5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2013 11:49:10 +0200 Original-Received: from localhost ([::1]:42653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V317e-000217-AB for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2013 05:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V317Z-000211-Jh for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V317W-0006WH-O2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:49:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V317W-0006WD-LE for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V317W-00016m-Be for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:49:02 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Sat, 27 Jul 2013 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: report 14966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-Received: via spool by submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B.13749184864057 (code B ref -1); Sat, 27 Jul 2013 09:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2013 09:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:52356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V316b-00013K-Dx for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Sat, 27 Jul 2013 05:48:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35543) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V316Z-00012a-7o for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Sat, 27 Jul 2013 05:48:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V316R-0006FY-AO for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Sat, 27 Jul 2013 05:47:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V316R-0006FP-7n for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Sat, 27 Jul 2013 05:47:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V316N-0001nP-CX for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:47:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V316K-0006Da-Re for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:47:51 -0400 Original-Received: from luna.schedom-europe.net ([193.109.184.86]:48746) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1V316K-0006DM-HV for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sat, 27 Jul 2013 05:47:48 -0400 Original-Received: (qmail 27749 invoked by uid 507); 27 Jul 2013 11:47:47 +0200 Original-Received: from ip-83-101-44-240.customer.schedom-europe.net (HELO MUNDANEUM.) (83.101.44.240) by luna.schedom-europe.net with AES128-SHA encrypted SMTP; 27 Jul 2013 11:47:39 +0200 X-Url: Under construction... X-Archive: encrypt User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:76700 Archived-At: 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