Higher level built-in strings

Walter Bright newshound2 at digitalmars.com
Tue Jul 20 11:28:57 PDT 2010


Andrei Alexandrescu wrote:
> I think otherwise. In fact I confess I am extremely excited. The current 
> state of affairs described built-in strings very accurately: they are 
> formally bidirectional ranges, yet they offer random access for code 
> units that you can freely use if you so wish. It's modeling reality very 
> accurately.
> 
> As far as I know, all algorithms in std.algorithm that work well without 
> decoding are special-cased for strings to work fast and yield correct 
> results.

That's good to hear.


More information about the Digitalmars-d mailing list