Major performance problem with std.array.front()

Vladimir Panteleev vladimir at thecybershadow.net
Sat Mar 8 08:43:04 PST 2014


On Saturday, 8 March 2014 at 15:56:08 UTC, Dmitry Olshansky wrote:
> The following should work as is though:
>
> s.byGrapheme.canFind(Grapheme("é"))

Doesn't work here. Not sure why.

Grapheme(1000065, 3, 0, 33554432, [101, 0, 0, 1, 3, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0], 2) // last byGrapheme

vs.

Grapheme(E9, 0, 0, 16777216, [233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0], 1) // Grapheme("é")


More information about the Digitalmars-d mailing list