How to improve autodecoding? (Was: The Case Against Autodecode)
    Dmitry Olshansky via Digitalmars-d 
    digitalmars-d at puremagic.com
       
    Mon May 30 11:29:43 PDT 2016
    
    
  
On 30-May-2016 21:24, Andrei Alexandrescu wrote:
> On 05/30/2016 12:34 PM, Jack Stouffer wrote:
>> On Monday, 30 May 2016 at 16:25:20 UTC, Nick Sabalausky wrote:
>>> D1 -> D2 was a vastly more disruptive change than getting rid of
>>> auto-decoding would be.
>>
>> Don't be so sure. All string handling code would become broken, even if
>> it appears to work at first.
>
> That kind of makes this thread less productive than "How to improve
> autodecoding?" -- Andrei
1. Generalize to all ranges of code units i.e. ranges of char/wchar.
2. Operating on codeunits explicitly would then always involve a step 
through ubyte/byte.
-- 
Dmitry Olshansky
    
    
More information about the Digitalmars-d
mailing list