[Issue 11017] std.string/uni.toLower is very slow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 12 12:50:37 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11017



--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-09-12 12:50:37 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > There 2 things here to consider - first the 2nd one is not correct in general
> > (1 codepoint can map to many e.g. german sharp S).
> 
> Good point, although std.uni.toUpper doesn't handle it either :-)
> 
> assert("ß".toUpper == "ß"); // passes

To Lower will do. Sharp S is capital ;)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list