From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5618 invoked by alias); 23 Aug 2013 17:52:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 5514 invoked by uid 48); 23 Aug 2013 17:52:16 -0000 From: "siddhesh at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/15884] Big performance regression in strcoll Date: Fri, 23 Aug 2013 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: siddhesh at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00132.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15884 Siddhesh Poyarekar changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Siddhesh Poyarekar --- Also, the test case is invalid. It compares a space with an exclamation point, both of which are ignored as collation sequences due to which the algorithm actually goes through all the passes for the string before it compares them on a binary level. Replace 32 and 33 with 'a' and 'b' and you'll see the difference. -- You are receiving this mail because: You are on the CC list for the bug.