From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: performance of converting alist to hash table Date: Thu, 27 May 2004 08:21:07 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405262321.IAA05035@etlken.m17n.org> References: <20040516095522.GA1625@SDF.LONESTAR.ORG> <4n3c5zj6eq.fsf@lifelogs.com> <20040517233743.GA11854@fencepost> <20040518115030.GA21952@SDF.LONESTAR.ORG> <20040519115903.GA2149@SDF.LONESTAR.ORG> <200405192327.IAA14876@etlken.m17n.org> <20040526132936.GA22985@SDF.LONESTAR.ORG> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1085697051 5821 80.91.224.253 (27 May 2004 22:30:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 May 2004 22:30:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 28 00:30:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTTOZ-0006Dn-00 for ; Fri, 28 May 2004 00:30:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTTOZ-00057W-00 for ; Fri, 28 May 2004 00:30:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTSSo-00062w-Cz for emacs-devel@quimby.gnus.org; Thu, 27 May 2004 17:30:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BT7in-0007UC-GQ for emacs-devel@gnu.org; Wed, 26 May 2004 19:22:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BT7i5-0007N8-4q for emacs-devel@gnu.org; Wed, 26 May 2004 19:21:52 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT7i3-0007ML-Pk for emacs-devel@gnu.org; Wed, 26 May 2004 19:21:20 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4QNL8Q03819; Thu, 27 May 2004 08:21:08 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4QNL8W17883; Thu, 27 May 2004 08:21:08 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id IAA05035; Thu, 27 May 2004 08:21:07 +0900 (JST) Original-To: daiyuwen@sdf.lonestar.org In-reply-to: <20040526132936.GA22985@SDF.LONESTAR.ORG> (message from Dai Yuwen on Wed, 26 May 2004 13:29:36 +0000) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24034 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24034 In article <20040526132936.GA22985@SDF.LONESTAR.ORG>, Dai Yuwen writes: > Thank you very much. I tried > convert-alist-to-char-table. It runs suprisingly fast, and > (aref wubi-talbe ?_CHINESE_CHAR_) also runs much faster > than gethash and (cadr (assoc alist key)). > By the way, how do you know I'm writing a Wubi input > method? Do you familiar with it? No, I'm not familiar with it, but you wrote "WuBi" in the file ex3.el that you sent. --- Ken'ichi HANDA handa@m17n.org