From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: faster unicode character name completion Date: Tue, 08 Dec 2009 19:12:30 -0500 Message-ID: <87k4wx57kh.fsf@stupidchicken.com> References: <87einfbxdw.fsf@red-bean.com> <87fx7r68s4.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260317570 6261 80.91.229.12 (9 Dec 2009 00:12:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Dec 2009 00:12:50 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 09 01:12:43 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NIAAc-0004m1-QP for ged-emacs-devel@m.gmane.org; Wed, 09 Dec 2009 01:12:43 +0100 Original-Received: from localhost ([127.0.0.1]:52117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIAAc-0002VD-E1 for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 19:12:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIAAW-0002Ui-Ok for emacs-devel@gnu.org; Tue, 08 Dec 2009 19:12:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIAAS-0002Ti-U5 for emacs-devel@gnu.org; Tue, 08 Dec 2009 19:12:36 -0500 Original-Received: from [199.232.76.173] (port=40028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIAAS-0002Tc-OA for emacs-devel@gnu.org; Tue, 08 Dec 2009 19:12:32 -0500 Original-Received: from pantheon-po42.its.yale.edu ([130.132.50.101]:34000) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NIAAS-00026a-Q9 for emacs-devel@gnu.org; Tue, 08 Dec 2009 19:12:32 -0500 Original-Received: from furry (dhcp128036014216.central.yale.edu [128.36.14.216]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nB90CU4q022694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 8 Dec 2009 19:12:30 -0500 Original-Received: by furry (Postfix, from userid 1000) id 0BFA0C071; Tue, 8 Dec 2009 19:12:31 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Tue, 08 Dec 2009 10:45:56 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118407 Archived-At: Kenichi Handa writes: > Ah, interesting approach. But, I've just found that > dotimes-with-progress-reporter of the original code didn't exclude the > big unused range U+30000..U+DFFFF (about 75% of the range currently > checked). Just excluding that part in the original code achieves > almost the same performance as your patch. Attached is that simpler > version. Could you check this in ASAP? I'll hold the pretest for this. Thanks.