3 ms·
The D "fastjson" version is not a general solution: > I think it is not necessary to validate data you are not using. So basically > I only scan them so mu
by steveklabnik 10y ago
The D "fastjson" version is not a general solution:
> I think it is not necessary to validate data you are not using. So basically
> I only scan them so much as to find where they end. Granted it is a bit of
> optimization for a benchmark, but is actually handy in real-life as well.
> After all you could still raise the validation level to maximum if you really
> cared or call one of the validation functions.
https://github.com/kostya/benchmarks/pull/46#issuecomment-147932489 https://github.com/kostya/benchmarks/pull/46#issuecomment-14...
- yawniek 10y agoshameless plug, you can use https://github.com/tamediadigital/asdf https://github.com/tamediadigital/asdf it should offer comparable performance to fastjson while having all the nice features.