std.data.json formal review

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 18 06:19:26 PDT 2015


On 8/18/15 2:55 AM, Dmitry Olshansky wrote:
> On 18-Aug-2015 01:33, Andrei Alexandrescu wrote:
>> On 8/17/15 2:47 PM, Dmitry Olshansky wrote:
>>>
>>> Actually one can combine the two:
>>> - use integer type tag for everything built-in
>>> - use pointer tag for what is not
>>
>> But a pointer tag can do everything that an integer tag does. -- Andrei
>
> albeit quite a deal slooower.

I think there's a misunderstanding. Pointers _are_ 64-bit integers and 
may be compared as such. You can use a pointer as an integer. -- Andrei



More information about the Digitalmars-d mailing list