Major performance problem with std.array.front()
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Mar 7 16:44:58 PST 2014
On 3/7/14, 12:43 PM, Vladimir Panteleev wrote:
> On Friday, 7 March 2014 at 19:57:38 UTC, Andrei Alexandrescu wrote:
>> Allow me to enumerate the functions of std.algorithm and how they work
>> today and how they'd work with the proposed change. Let s be a
>> variable of some string type.
>
>> s.canFind('é') currently works as expected.
>
> No, it doesn't.
>
> import std.algorithm;
>
> void main()
> {
> auto s = "cassé";
> assert(s.canFind('é'));
> }
worksforme
More information about the Digitalmars-d
mailing list