X[]==Y[] is 7X slower than it should be -- why?

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Jun 20 11:52:31 PDT 2008


"Sean Kelly" <sean at invisibleduck.org> wrote in message 
news:g3gtvk$1tm7$1 at digitalmars.com...
>
> Done :p
>
> http://dsource.org/projects/tango/changeset/3651

In _adCmp,

if (a1.ptr == a2.ptr)
    return 0;

erm, that's not right at all.  Two slices with the same pointer and 
different lengths. 





More information about the Digitalmars-d mailing list