Message142324
As Charles-François said: it would be nice to know which Python version you are using. Also, if you could test with 2.7 or 3.2 and the standard json module (or the latest simplejson if you prefer).
Also, while Python's performance is not always excellent, it is quite rare for it to be GC-limited, so the advice you are suggesting we give would be misleading for most use cases.
Note that instead of disabling the GC, you can tune its parameters by calling set_threshold. For example:
u, v, w = gc.get_threshold()
gc.set_threshold(u, v * 10, w * 50)
(this will make full collections occur 500 times less often)
Or you could disable the GC only when decoding JSON data and reenable it afterwards. |
|
Date |
User |
Action |
Args |
2011-08-18 14:29:23 | pitrou | set | recipients:
+ pitrou, loewis, amaury.forgeotdarc, vstinner, dsvensson, daniel.urban, neologix, docs@python |
2011-08-18 14:29:23 | pitrou | set | messageid: <1313677763.6.0.701906187158.issue12775@psf.upfronthosting.co.za> |
2011-08-18 14:29:23 | pitrou | link | issue12775 messages |
2011-08-18 14:29:22 | pitrou | create | |
|