This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15884] Big performance regression in strcoll


http://sourceware.org/bugzilla/show_bug.cgi?id=15884

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]