On 5/31/16 2:21 PM, Jonathan M Davis via Digitalmars-d wrote:
I think that the first step is getting Phobos to work with all ranges of
character types - be they char, wchar, dchar, or graphemes. Then the
algorithms themselves will work whether we have auto-decoding or not. With
that done, we can at minimum tell folks to use byCodeUnit, byChar!T,
byGrapheme, etc. to get the correct, efficient behavior. Right now, if you
try to use ranges like byCodeUnit, they work with some of Phobos but not
enough to really work as a viable replacement to auto-decoding strings.

Great. Could you put together a sample PR so we understand the implications better? Thanks! -- Andrei

Reply via email to