Ticket #10375 (closed optimization: fixed)
Inconsistent String comparison results
|Reported by:||ZenJu||Owned by:|
|Keywords:||locale collation regression||Cc:|
I'm programming on a tool where performance of string comparison is extremely important. I had thought that the implementation of
int wxString::CmpNoCase(const wxString& s) const
was reasonably fast.
But then I tried the Windows API
LPCTSTR lpString1, // address of first string
LPCTSTR lpString2 // address of second string
which is about 50 % faster in my tests. So my suggestion is, to simply replace the implementation in the windows build with the second one.
Best regards, ZenJu