[issue12134] json.dump much slower than dumps
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>
More information about the Python-bugs-list