Why not flag away the mistakes of the past?

Jon Degenhardt jond at noreply.com
Wed Mar 7 18:29:18 UTC 2018


On Wednesday, 7 March 2018 at 16:33:25 UTC, Seb wrote:
> On Wednesday, 7 March 2018 at 15:26:40 UTC, Jon Degenhardt 
> wrote:
>> On Wednesday, 7 March 2018 at 06:00:30 UTC, Taylor Hillegeist 
>> wrote:
>>> [...]
>>
>> Auto-decoding is a significant issue for the applications I 
>> work on (search engines). There is a lot of string 
>> manipulation in these environments, and performance matters. 
>> Auto-decoding is a meaningful performance hit. Otherwise, 
>> Phobos has a very nice collection of algorithms for string 
>> manipulation. It would be great to have a way to turn 
>> auto-decoding off in Phobos.
>
> Well you can use byCodeUnit, which disables auto-decoding
>
> Though it's not well-known and rather annoying to explicitly 
> add it almost everywhere.

I looked at this once. It didn't appear to be a viable solution, 
though I forget the details. I can probably resurrect them if 
that would be helpful.


More information about the Digitalmars-d mailing list