From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14844 invoked by alias); 10 Sep 2014 17:24:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 14793 invoked by uid 89); 10 Sep 2014 17:24:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54108958.1040808@redhat.com> Date: Wed, 10 Sep 2014 17:24:00 -0000 From: Florian Weimer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Wilco Dijkstra , libc-alpha@sourceware.org Subject: Re: [PATCH] Improve performance of strcat References: <000101cfb243$63a5b1b0$2af11510$@com> In-Reply-To: <000101cfb243$63a5b1b0$2af11510$@com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-09/txt/msg00190.txt.bz2 On 08/07/2014 03:27 PM, Wilco Dijkstra wrote: > This patch improves strcat performance by using strlen and strcpy. Strlen has a fast C > implementation, so this improves performance even on targets which don't have an optimized strlen > and strcpy - it is 25% faster in bench-strcat. On targets which don't provide an optimized strcat > but which do have an optimized strlen and strcpy, performance gain is > 2x. > > OK for commit? This is okay for master. Thanks. -- Florian Weimer / Red Hat Product Security