On Tuesday, 7 April 2015 at 00:36:30 UTC, weaselcat wrote:
On Monday, 6 April 2015 at 21:09:32 UTC, Brad Anderson wrote:
On Monday, 6 April 2015 at 20:20:06 UTC, Kingsley wrote:
I have read that std.json is pretty slow compared to other
languages json parsers and I'm about to do a whole stack of
json parsing and was wondering if anyone has got any
benchmarks to indicate what "slow" means compared to other
languages - particularly java, ruby, python?
I want to know whether to roll up the sleeves and write my
own json parser focused on performance or if slow just means
a few ms slower - which I could live with.
We actually have a JSON parser meant to replace std.json that
should be very high performance. You can try it out now using
dub:
http://code.dlang.org/packages/std_data_json
I used it recently though I didn't do any performance testing.
The improvements to Algebraic would help make it more pleasant
to use.
Which improvements to algebraic?
Sönke describes them here:
http://forum.dlang.org/post/lt5s76$is$1...@digitalmars.com