RFC: std.json sucessor

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 08:09:07 PDT 2014


On 10/13/14, 4:45 AM, Sönke Ludwig wrote:
> Am 13.10.2014 13:33, schrieb Jacob Carlborg:
>> On 13/10/14 09:39, Sönke Ludwig wrote:
>>
>>>> ** At four words per token, Location seems pretty bulky. How about
>>>> reducing line and column to uint?
>>>
>>> Single line JSON files >64k (or line counts >64k) are no exception
>>
>> 64k?
>>
>
> Oh, I've read "both line and column into a single uint", because of
> "four words per token" - considering that "word == 16bit", but Andrei
> obviously meant "word == (void*).sizeof". If simply using uint instead
> of size_t is meant, then that's of course a different thing.

Yah, one uint for each. -- Andrei


More information about the Digitalmars-d mailing list