[docs] [issue12134] json.dump much slower than dumps
poq
report at bugs.python.org
Sun Jun 5 20:38:41 CEST 2011
poq <poq at gmx.com> added the comment:
dump() is not slower because it's incremental though. It's slower because it's pure Python. I don't think there is necessarily a memory/speed trade-off; it should be possible to write an incremental encoder in C as well.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12134>
_______________________________________
More information about the docs
mailing list