What about larger dictionaries? With such a small one I would be worried that a significant proportion of the time would be simple overhead.
[Warning: Anecdote] When we were testing out the various JSON libraries we found simplejson much faster than json for dumps. We used large dictionaries.
Was the simplejson package using its optimized C library?
What about larger dictionaries? With such a small one I would be worried that a significant proportion of the time would be simple overhead.
[Warning: Anecdote] When we were testing out the various JSON libraries we found simplejson much faster than json for dumps. We used large dictionaries.
Was the simplejson package using its optimized C library?