Am Wed, 14 Oct 2015 07:55:18 +0000
schrieb Idan Arye <[email protected]>:
> On Wednesday, 14 October 2015 at 07:35:49 UTC, Marco Leise wrote:
> > auto json = parseTrustedJSON(`{ "coordinates": [ { "x": 1,
> > "y": 2, "z": 3 }, … ] }`);
>
> I assume parseTrustedJSON is not validating? Did you use it in
> the benchmark? And were the competitors non-validating as well?
That is correct. For the benchmark parseJSONFile was used
though, which validates UTF-8 and JSON in the used portions.
That probably renders your third question superfluous. I
wouldn't know anyways, but am inclined to think they all
validate the entire JSON and some may skip UTF-8 validation,
which is a low cost operation in this ASCII file anyways.
--
Marco