std.data.json formal review
Brad Anderson via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 28 16:24:50 PDT 2015
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.
More information about the Digitalmars-d
mailing list