[Sugar-devel] Rationale behind the JSON -> CJSON switch in Sugar codebase?
tomeu at sugarlabs.org
Fri Nov 13 05:50:44 EST 2009
2009/11/12 Lucian Branescu <lucian.branescu at gmail.com>:
> The json module (simplejson) has only the parser written in C, so it's
> still slower overall than cjson. Not by a lot, but measurable.
Well, we don't really care about overall slowness, but only if it's
fast enough for our actual use of it. In this case, we only care about
fast parsing of small json files in 0.82.
> 2009/11/12 Martin Langhoff <martin.langhoff at gmail.com>:
>> On Thu, Nov 12, 2009 at 4:59 PM, Martin Langhoff
>> <martin.langhoff at gmail.com> wrote:
>>> Then maybe yes, I am seeing a bug in cjson that parses 'foo\/bar' incorrectly.
>> Confirmed. In a python session:
>> u'foo/bar' <== correct
>> 'foo\\/bar' <== incorrect
>> martin.langhoff at gmail.com
>> martin at laptop.org -- School Server Architect
>> - ask interesting questions
>> - don't get distracted with shiny stuff - working code first
>> - http://wiki.laptop.org/go/User:Martinlanghoff
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
More information about the Devel