A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110798.html below:

[Python-Dev] Status of json (simplejson) in cpython

[Python-Dev] Status of json (simplejson) in cpython [Python-Dev] Status of json (simplejson) in cpythonStefan Behnel stefan_ml at behnel.de
Sun Apr 17 08:22:20 CEST 2011
Matt Billenstein, 17.04.2011 00:47:
> On Sat, Apr 16, 2011 at 01:30:13PM +0200, Antoine Pitrou wrote:
>> On Sat, 16 Apr 2011 00:41:03 +0000
>> Matt Billenstein wrote:
>>>
>>> Slightly less crude benchmark showing simplejson is quite a bit faster:
>>>
>>> http://pastebin.com/g1WqUPwm
>>>
>>> 250ms vs 5.5s encoding and decoding an 11KB json object 1000 times...
>>
>> This doesn't have much value if you don't say which version of Python
>> you ran json with. You should use 3.2, otherwise you might miss some
>> optimizations.
>
> Yes, that was 2.6.5 -- 3.2 native json is comparable to simplejson here taking
> about 330ms...

 From the POV of CPython 3.2, is "native" Python or C?

Stefan

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4