We can see the performance difference from the simple functions in Tango and Phobos
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Jul 30 20:05:18 PDT 2009
zsxxsz wrote:
> Hi, below are the functions from Phobos and Tango with the same use, we can
> see why so many people like Tango more than Phobos.
[snip]
> We can see the function's performance from Tango is more high than which one
> from Phobos. This maybe not the only one function difference. :)
That code is terrible, thanks for pointing it out to me. I posted a bug
report on your behalf:
http://d.puremagic.com/issues/show_bug.cgi?id=3218
(I'm unhappy with both functions because neither works with on ranges
and neither accepts all three character widths.)
Any similar findings would be very appreciated.
Andrei
More information about the Digitalmars-d
mailing list