RFC: std.json sucessor

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 04:45:15 PDT 2014


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.


More information about the Digitalmars-d mailing list