[Issue 11017] std.string/uni.toLower is very slow
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 12 14:07:18 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11017
--- Comment #6 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-09-12 14:07:17 PDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > To Lower will do. Sharp S is capital ;)
> >
> > assert("ß".toLower == "ß");
> > assert("ß".toUpper == "ß");
> >
> > Both pass.
>
> Something wicked have happend.
> I see that I've messed up toUpper in table generator while introducing
> toTitleCase (that isn't even yet exposed!). toLower is fine, toUpper is broken
> in half of cases apparently.
> How I missed that I've no idea ... gotta expand the test coverage around
> toLower/toUpper.
P.S. And there are both kinds of sharp s ... \u1E9E and \u00df
--
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