std.partition is fucked
Sean Kelly
sean at invisibleduck.org
Wed May 13 12:43:08 PDT 2009
== Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s article
> If swap is not inlined that would be serious. Sort does a lot of swapping.
It only works for arrays, but what I ended up doing to get swap inlined
was to pass it two array indices instead of two references. There must
be some way to address this for ranges if ref parameters prevent inlining
with DMD.
More information about the Digitalmars-d
mailing list