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

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to