From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Thu, 04 May 2006 14:21:43 +0200 Message-ID: References: <17491.34779.959316.484740@parhasard.net> <87odyfnqcj.fsf-monnier+emacs@gnu.org> <87psiuj8at.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146745433 27927 80.91.229.2 (4 May 2006 12:23:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 May 2006 12:23:53 +0000 (UTC) Cc: Oliver Scholz , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 04 14:23:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fbcrx-0001L7-Fn for ged-emacs-devel@m.gmane.org; Thu, 04 May 2006 14:23:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbcrw-00053t-Q7 for ged-emacs-devel@m.gmane.org; Thu, 04 May 2006 08:23:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fbcrj-000532-MO for emacs-devel@gnu.org; Thu, 04 May 2006 08:23:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fbcri-000522-Ka for emacs-devel@gnu.org; Thu, 04 May 2006 08:23:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbcri-00051r-GP for emacs-devel@gnu.org; Thu, 04 May 2006 08:23:30 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbcsJ-0005yA-V3 for emacs-devel@gnu.org; Thu, 04 May 2006 08:24:08 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id B5AB9FAC07B; Thu, 4 May 2006 14:23:26 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: <87psiuj8at.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 04 May 2006 08:18:02 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53897 Archived-At: Stefan Monnier writes: >> That's 7 lisp vars accessed from C - for decoding one character!?! > >> How often does this happen? > >> If it is only/primarily used for interactive use, I guess it doesn't matter. >> Otherwise, I think those vars should be declared in C, to avoid the overhead >> of interning them at run-time... > > I'd vote to keep the code in elisp. After all, it's there, it works, and as > mentioned: there's no evidence that the decoding time of \u escapes it ever > going to need to be fast. And it'll become fast in Emacs-unicode anyway, so > it doesn't seem to be worth the trouble. Ok. Pls. disregard my query. -- Kim F. Storm http://www.cua.dk