From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12073 invoked by alias); 12 Apr 2011 20:25:51 -0000 Received: (qmail 12063 invoked by uid 22791); 12 Apr 2011 20:25:50 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Apr 2011 20:25:46 +0000 Received: from eggs.gnu.org ([140.186.70.92]:56386) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Q9k9h-0002rE-K9 for gcc-patches@gnu.org; Tue, 12 Apr 2011 16:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9k9g-00075v-Sf for gcc-patches@gnu.org; Tue, 12 Apr 2011 16:25:45 -0400 Received: from qmta08.westchester.pa.mail.comcast.net ([76.96.62.80]:40713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9k9g-00075c-Qe for gcc-patches@gnu.org; Tue, 12 Apr 2011 16:25:44 -0400 Received: from omta22.westchester.pa.mail.comcast.net ([76.96.62.73]) by qmta08.westchester.pa.mail.comcast.net with comcast id WjaX1g0041ap0As58kRl3v; Tue, 12 Apr 2011 20:25:45 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta22.westchester.pa.mail.comcast.net with comcast id WkRj1g0280BKwT43ikRk3o; Tue, 12 Apr 2011 20:25:45 +0000 Subject: Re: ObjC: another tiny performance tidyup Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Mike Stump In-Reply-To: <1302635531.839430268@192.168.4.58> Date: Tue, 12 Apr 2011 20:25:00 -0000 Cc: "gcc-patches@gnu.org" Content-Transfer-Encoding: 7bit Message-Id: <9DA89327-71B5-487D-8EF2-8366A2E2E846@comcast.net> References: <1302635531.839430268@192.168.4.58> To: Nicola Pero X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.96.62.80 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00935.txt.bz2 On Apr 12, 2011, at 12:12 PM, Nicola Pero wrote: > This saves a few thousands strlen() calls per compilation by reusing > the length of selector strings instead of calculating it again. > > Ok to commit ? Ok.