The Case Against Autodecode

tsbockman via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 2 14:30:51 PDT 2016


On Thursday, 2 June 2016 at 21:07:19 UTC, default0 wrote:
> The level 2 support description noted that it should be opt-in 
> because its slow.

1) It does not say that level 2 should be opt-in; it says that 
level 2 should be toggle-able. Nowhere does it say which of level 
1 and 2 should be the default.

2) It says that working with graphemes is slower than UTF-16 code 
UNITS (level 1), but says nothing about streaming decoding of 
code POINTS (what we have).

3) That document is from 2000, and its claims about performance 
are surely extremely out-dated, anyway. Computers and the Unicode 
standard have both changed much since then.



More information about the Digitalmars-d mailing list