Major performance problem with std.array.front()
Eyrk
eyrk at hotmail.com
Fri Mar 7 14:19:08 PST 2014
On Friday, 7 March 2014 at 21:58:40 UTC, Vladimir Panteleev wrote:
> On Friday, 7 March 2014 at 21:56:45 UTC, Eyrk wrote:
>> On Friday, 7 March 2014 at 20:43:45 UTC, Vladimir Panteleev
>> wrote:
>>> No, it doesn't.
>>>
>>> import std.algorithm;
>>>
>>> void main()
>>> {
>>> auto s = "cassé";
>>> assert(s.canFind('é'));
>>> }
>>>
>>
>> Hm, I'm not following? Works perfectly fine on my system?
>
> Something's messing with your Unicode. Try downloading and
> compiling this file:
> http://dump.thecybershadow.net/6f82ea151c1a00835cbcf5baaace2801/test.d
ah right, missing normalization, I get your point, thanks.
More information about the Digitalmars-d
mailing list