Json vs. simplejson vs. ujson
11–20 of 75 posts
Re: Json vs. simplejson vs. ujson
#12Feel like there was timed upvotes to get this on the front page. I watched this pretty much in the span of 2 minutes go to 8 upvotes.
Re: Json vs. simplejson vs. ujson
#13The usage of percentages in the article is wrong. 6 is not 150% faster than 4.
Re: Json vs. simplejson vs. ujson
#14When I wrote the same kind of article in Nov 2011 [1], I came to similar conculsions; ujson was blowing everyone away. However, after swapping a fairly large and json-intensive production spider over to ujson, we noticed a large increase in memory use. When I investigated, I discovered that simplejson reused allocated string objects, so when parsing/loading you basically got string compression for repeated string key…
Re: Json vs. simplejson vs. ujson
#15Re: Json vs. simplejson vs. ujson
#16How hard is it to draw a bar graph? I'd imagine it is easier than creating an ASCII table and then turning that into an image, but I've never experimented with the latter.
Re: Json vs. simplejson vs. ujson
#17> keep in mind that ultrajson only works with well defined collections and will not work for un-serializable collections. But if you are dealing with texts, this should not be a problem. Well-defined collections? As in, serializable? Well sure, that's requisite for the native json package as well as simplejson (as far as I can recall -- haven't used simplejson in some time.) But does "texts" refer to strings? As in,…
Re: Json vs. simplejson vs. ujson
#18Re: Json vs. simplejson vs. ujson
#19How hard is it to draw a bar graph? I'd imagine it is easier than creating an ASCII table and then turning that into an image, but I've never experimented with the latter.
Re: Json vs. simplejson vs. ujson
#20When I wrote the same kind of article in Nov 2011 [1], I came to similar conculsions; ujson was blowing everyone away. However, after swapping a fairly large and json-intensive production spider over to ujson, we noticed a large increase in memory use. When I investigated, I discovered that simplejson reused allocated string objects, so when parsing/loading you basically got string compression for repeated string key…