From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: faster unicode character name completion Date: Wed, 9 Dec 2009 10:02:29 +0100 Message-ID: <7b501d5c0912090102l39646725qe8b631e6a5a5a8d9@mail.gmail.com> References: <87einfbxdw.fsf@red-bean.com> <87fx7r68s4.fsf@stupidchicken.com> <87k4wx57kh.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260349411 17201 80.91.229.12 (9 Dec 2009 09:03:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Dec 2009 09:03:31 +0000 (UTC) Cc: Chong Yidong , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 09 10:03:24 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 1NIIS8-0002mR-IE for ged-emacs-devel@m.gmane.org; Wed, 09 Dec 2009 10:03:20 +0100 Original-Received: from localhost ([127.0.0.1]:51464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIIS8-00077j-9h for ged-emacs-devel@m.gmane.org; Wed, 09 Dec 2009 04:03:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIIRk-00072A-6E for emacs-devel@gnu.org; Wed, 09 Dec 2009 04:02:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIIRf-00070X-DE for emacs-devel@gnu.org; Wed, 09 Dec 2009 04:02:55 -0500 Original-Received: from [199.232.76.173] (port=47586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIIRf-00070M-6L for emacs-devel@gnu.org; Wed, 09 Dec 2009 04:02:51 -0500 Original-Received: from mail-ew0-f209.google.com ([209.85.219.209]:55343) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIIRe-0006iX-Kn for emacs-devel@gnu.org; Wed, 09 Dec 2009 04:02:50 -0500 Original-Received: by ewy1 with SMTP id 1so3757646ewy.8 for ; Wed, 09 Dec 2009 01:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=QPBdKvZCYAdldl0MGOgUQfW75q+MmJmjBR/Qfz6zjW0=; b=rzWYUqn+Tk2y2HPxJLXrFE0r6Dftda9iMupFrQzazibPtWKzap0d/hDLqMi4y4WaZf g4sMAPPy0EeLbceMExD5GHJsqCHUYxTjOxLRrYmKAhAnsehCELprMxO+t6usj9c5WVhk vRn+FhrY2Blf4AHlntWOgUCAHSEeVazJ9T0UA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SH9mMjGP7o5ajV5lIYWMKby2WR5jNlspq7QOjL/Y8icLaXRsLHvEbBra+93RWQ7/cL NcADOJ7fBRNnqJ5j/lhc7y9//+n1KwTymuGSu7e0qaFLybYhhNuyNsLdqKTmk+4ywTZn vl3Bxydww3zhfce2zITH6s/4Pnb0CLnNq59W8= Original-Received: by 10.213.107.17 with SMTP id z17mr684767ebo.10.1260349369106; Wed, 09 Dec 2009 01:02:49 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:118440 Archived-At: 2009/12/9 Kenichi Handa : > In article <87k4wx57kh.fsf@stupidchicken.com>, Chong Yidong writes: > >> Kenichi Handa writes: >> > Ah, interesting approach. =A0But, 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). =A0Just excluding that part in the original code achieves >> > almost the same performance as your patch. =A0Attached is that simpler >> > version. > >> Could you check this in ASAP? =A0I'll hold the pretest for this. =A0Than= ks. > > Ok, just done. > > --- > Kenichi Handa > handa@m17n.org > > > Not that I have any idea about low-level stuff at all, but wouldn't it be possible to implement ucs-names in C? --=20 Deniz Dogan