Why not flag away the mistakes of the past?

Seb seb at wilzba.ch
Wed Mar 7 16:33:25 UTC 2018


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

Well you can use byCodeUnit, which disables auto-decoding

Though it's not well-known and rather annoying to explicitly add 
it almost everywhere.



More information about the Digitalmars-d mailing list