SimpleJson is slow .... is there any C Compiled version ?
Joshua Kugler
jkugler at bigfoot.com
Mon Jul 28 15:22:19 EDT 2008
sanket wrote:
> Hello All,
>
> I have created an API which fetches some data from the database.
> I am using simplejson to encode it and return it back.
>
> Now the problem is that, this API is being called for millions of
> times in a sequence.
> I ran a profiler and saw that most of the time is consumed in encoding
> my database results in to json.
> So I was just wondering is there any C compiled version of simplejson
> is available?
> or any help regarding this issue would be appreciated.
simplejson does have a C module. It is compiled automatically when
installed. If you're installing on Windows, then it probably isn't getting
compiled.
j
More information about the Python-list
mailing list