std.variant benchmark

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Sun Jul 29 08:21:23 PDT 2012


On Sun, Jul 29, 2012 at 6:41 PM, Tobias Pankrath <tobias at pankrath.net>wrote:

> I do compare it with nothing, just to see how many times does it exceed the
>> performance of static typed storage. The point is that Variant is
>> extremely
>> slow.
>> All I want is to find out how to implement a very fast typeless storage
>> with maximum performance and type safety.
>>
>
> Isn't that a paradox? What kind of type safety do you expect from a
> typeless storage?
>

The kind, which doesn't forget about postblits and destructors. This isn't
a paradox;

-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120729/985d1644/attachment.html>


More information about the Digitalmars-d mailing list