std.data.json formal review

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 28 16:30:35 PDT 2015


On 7/28/2015 4:24 PM, Brad Anderson wrote:
> On Tuesday, 28 July 2015 at 23:16:34 UTC, Walter Bright wrote:
>> A speed optimization, since JSON parsing speed is critical:
>>
>> If the parser is able to use slices of its input, store numbers as slices.
>> Only convert them to numbers lazily, as the numeric conversion can take
>> significant time.
>
> That's what it does (depending on which parser you use). The StAX style parser
> included is lazy and non-allocating.

Great!


More information about the Digitalmars-d mailing list