Re: json serialization error on arrays

2009-08-26 Thread John
When I have arrays of 100,000+ the performance of lists gets unacceptable in standard c python. That's why arrays exist in python! After doing research and testing, I have decided to rebuild the project in java with embedded jython. For some bizarre reason jython performance increases with large

Re: json serialization error on arrays

2009-08-25 Thread Peter Bengtsson
what's wrong with turning it into a list? If you gzip it it won't be that big. On Aug 25, 5:16 pm, John Baker wrote: > I need to json serialize some very large objects which include large > arrays. How can I do this in django? The arrays will be very big and > heavily processed before so need to

json serialization error on arrays

2009-08-25 Thread John Baker
I need to json serialize some very large objects which include large arrays. How can I do this in django? The arrays will be very big and heavily processed before so need to use efficient array storage. Testing with arrays I get.. TypeError at /zeros/ array([ 0., 0., 0., 0., 0., 0., 0.,