Major performance problem with std.array.front()

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Mar 9 10:26:39 PDT 2014


On 3/9/14, 6:34 AM, Jakob Ovrum wrote:
> On Sunday, 9 March 2014 at 13:08:05 UTC, Marc Schütz wrote:
>> Also, `byCodeUnit` and `byCodePoint` would probably be better names
>> than `raw` and `decode`, to much the already existing `byGrapheme` in
>> std.uni.
>
> There already is a std.uni.byCodePoint. It is a higher order range that
> accepts ranges of graphemes and ranges of code points (such as strings).

noice

> `byCodeUnit` is essentially std.string.representation.

Actually not because for reasons that are unclear to me people really 
want the individual type to be char, not ubyte.


Andrei



More information about the Digitalmars-d mailing list