From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#4771: 23.1; slow to interpret anthy maps Date: Sun, 18 Sep 2011 11:01:51 +0200 Message-ID: References: <20091020.174229.193976912.furue@hawaii.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316337140 17341 80.91.229.12 (18 Sep 2011 09:12:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2011 09:12:20 +0000 (UTC) Cc: 4771@debbugs.gnu.org To: Ryo Furue Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 18 11:12:14 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R5DQ6-00032n-HQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Sep 2011 11:12:14 +0200 Original-Received: from localhost ([::1]:60825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5DQ5-0007k9-Qz for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Sep 2011 05:12:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5DQ1-0007gD-Pr for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2011 05:12:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5DQ0-0002xl-Dt for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2011 05:12:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5DQ0-0002xX-C6 for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2011 05:12:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R5DUj-0004uD-S3 for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2011 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2011 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 4771-submit@debbugs.gnu.org id=B4771.131633736618745 (code B ref 4771); Sun, 18 Sep 2011 09:17:01 +0000 Original-Received: (at 4771) by debbugs.gnu.org; 18 Sep 2011 09:16:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5DTq-0004sI-FQ for submit@debbugs.gnu.org; Sun, 18 Sep 2011 05:16:06 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5DTo-0004sA-Pw for 4771@debbugs.gnu.org; Sun, 18 Sep 2011 05:16:06 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R5DOw-0006lC-LT; Sun, 18 Sep 2011 11:11:02 +0200 In-Reply-To: <20091020.174229.193976912.furue@hawaii.edu> (Ryo Furue's message of "Tue, 20 Oct 2009 17:42:29 -1000 (HST)") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Eurythmics's _Touch Dance_: "Cool Blue" X-MailScanner-ID: 1R5DOw-0006lC-LT MailScanner-NULL-Check: 1316941862.78862@RuQg/BeMkfEfvYRktoqfKw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 18 Sep 2011 05:17:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.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@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51363 Archived-At: Ryo Furue writes: > emacs23 is much slower to interpret the attached elisp file > than emacs22. The file customizes the conversion table from > alphabets to Japanese characters. It's for the anthy-el > package (I think). > > Here's a little quantitative comparison: > > $ time /usr/bin/emacs23 -q --eval '(progn (load-library "anthy") (load "~/lib/emacs/anthy-el-my.el")(kill-emacs))' > real 0m8.293s > user 0m1.244s > sys 0m0.036s > $ time /usr/bin/emacs22 -q --eval '(progn (load-library "anthy") (load "~/lib/emacs/anthy-el-my.el")(kill-emacs))' > real 0m1.197s > user 0m0.164s > sys 0m0.040s I can confirm that this problem still exists in Emacs 24: [larsi@stories ~]$ time emacs -Q --eval '(progn (load-library "cl") (push "/usr/share/emacs23/site-lisp/anthy" load-path) (load-library "anthy") (load "/tmp/anthy-el-my.el") (kill-emacs))' real 0m8.037s user 0m0.362s sys 0m0.051s However, is this a problem with the third-party anthy library, or in Emacs? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/