[Performance] std.conv.toInt is damn fast!
pragma
ericanderton at yahoo.com
Sat Nov 11 14:03:05 PST 2006
Andrey Khropov wrote:
> Burton Radons wrote:
> 13) MS VC++ 8.0
> (boost 1.33.1::lexical_cast<int>) - 51.700 sec (Yes, it's hard to believe
> but check yourself!)
<neo>Whoa.</neo>
You'd think that with all that templating going on it would simply
unroll into a *faster* routine, not something that runs *two whole
orders of magnitude* slower.
BTW, you may have just sounded the call to compile some performance
comparisons of D Templates and portions of Boost.
More information about the Digitalmars-d
mailing list