std.variant benchmark

Marco Leise Marco.Leise at gmx.de
Sun Jul 29 14:07:07 PDT 2012


Am Mon, 30 Jul 2012 00:24:40 +0400
schrieb Dmitry Olshansky <dmitry.olsh at gmail.com>:

> Just commenting one extra branch of this horror movie
> gives interesting change:
> 
> 2779us
> 2667us
> 3153762us
> 
> After:
> 
> 2319us
> 2523us
> 288581us
> 
> Aye, 10x :o)

Very nice finding. Now it is only 100x slower. :D It seems well worth changing the style Variant is written in.

-- 
Marco



More information about the Digitalmars-d mailing list