From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Pure strings (Re: Compilation to native) Date: 19 Apr 2004 10:20:47 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <87oepvo4jz.fsf@mail.jurta.org> <200404132340.IAA14502@etlken.m17n.org> <87u0zniciw.fsf@mail.jurta.org> <87fzb5h4x7.fsf_-_@mail.jurta.org> <200404190636.PAA29191@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082390569 23687 80.91.224.253 (19 Apr 2004 16:02:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Apr 2004 16:02:49 +0000 (UTC) Cc: juri@jurta.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 19 18:02:38 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 1BFbEE-0000Ux-00 for ; Mon, 19 Apr 2004 18:02:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFbEE-0006ZL-00 for ; Mon, 19 Apr 2004 18:02:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFZer-000185-1K for emacs-devel@quimby.gnus.org; Mon, 19 Apr 2004 10:22:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFZeI-00017P-MC for emacs-devel@gnu.org; Mon, 19 Apr 2004 10:21:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFZdh-0000y4-Nl for emacs-devel@gnu.org; Mon, 19 Apr 2004 10:21:22 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFZdh-0000xt-AI; Mon, 19 Apr 2004 10:20:49 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 3CA2721181; Mon, 19 Apr 2004 10:20:48 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id DE1C88B4C3; Mon, 19 Apr 2004 10:20:47 -0400 (EDT) Original-To: Kenichi Handa In-Reply-To: <200404190636.PAA29191@etlken.m17n.org> Original-Lines: 8 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) 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:21889 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21889 > Yes. Isn't it better to do copy-sequence on the fly, for > instance, in parse_menu_item (in keyboard.c) to avoid the > similar problem for the future? Sounds like a costly alternative, constantly allocating new strings. Stefan