From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6372 invoked by alias); 14 Apr 2009 18:24:43 -0000 Received: (qmail 6361 invoked by uid 22791); 14 Apr 2009 18:24:42 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Apr 2009 18:24:36 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 215472BABA1; Tue, 14 Apr 2009 14:24:35 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id G4Scdd0na6yz; Tue, 14 Apr 2009 14:24:35 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E3CAD2BAB91; Tue, 14 Apr 2009 14:24:34 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id C225AF5A14; Tue, 14 Apr 2009 11:24:32 -0700 (PDT) Date: Tue, 14 Apr 2009 18:24:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Pierre Muller Subject: Re: [RFC] Ada ARI fix for sprintf Message-ID: <20090414182432.GP7535@adacore.com> References: <000401c9b758$2c1cf4b0$8456de10$@u-strasbg.fr> <200904111620.17103.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904111620.17103.pedro@codesourcery.com> User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00272.txt.bz2 > Although, this function is used in the symbol completer, and > I don't know if there's a speed difference in using > xstrprintf over xmalloc+snprintf, and if it makes a difference > in this case. Probably not somethind to worry about > though... Joel? Agreed - I haven't seen any performance issue in that part of the code, so better code is great. -- Joel