[Issue 7515] The new std.string.translate is slow for ASCII text

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 28 15:39:38 PDT 2012


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



--- Comment #11 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-05-28 15:41:22 PDT ---
Okay. After some rethinking the issue, I've closed the old pull request and
created a new one:

https://github.com/D-Programming-Language/phobos/pull/609

It retains the ability to handle 256 code units rather than the 128 that ASCII
actually uses. What finally convinced me was the fact that if it takes the full
256 code units, then it could operate on full-on UTF-8 strings, replacing the
ASCII characters and leaving the unicode ones alone.

-- 
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