Fix Phobos dependencies on autodecoding

Argolis argolis at gmail.com
Wed Aug 14 07:15:54 UTC 2019


On Tuesday, 13 August 2019 at 16:18:03 UTC, H. S. Teoh wrote:

> But we can't make that the default because it's a big 
> performance hit, and many string algorithms don't actually need 
> grapheme segmentation.

Can you provide example of algorithms and use cases that don't 
need grapheme segmentation?
Are they really SO common that the correct default is go for code 
points?

Is it not better to have as a default the grapheme segmentation, 
the correct way of handling a string, instead?


More information about the Digitalmars-d mailing list