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 i
On Sat, 26 Jul 2008 00:49:20 -0700, Richard Levasseur wrote:
> On Jul 25, 5:52 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote:
>> Also, simplejson and python-cjson might not be entirely compatible:
>> there's one character that one escapes and the other doesn't, or
>> something. --
>
> They also hav
On Jul 25, 5:52 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote:
> Also, simplejson and python-cjson might not be entirely compatible:
> there's one character that one escapes and the other doesn't, or something.
> --
They also have different interface. simplejson uses load/loads/dump/
dumps, whereas
On Jul 25, 5:52 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote:
> 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
> > t
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
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 datab