anderbubble schrieb:
> Can anyone recommend a way to jsonify a generator such that an entire
> (potentially large) dataset doesn't have to be held in memory, but is
> generated (and reported over http) in-place?

I doubt that works that way. The problem is that the whole jsonification 
process takes place in-memory, as it builds a full result string. So you 
don't gain anything.

I'm not sure if and how TG/Cherrypy offer the possibility to write to 
the result stream blockwise, that would allow to prevent the full 
serialization.

Diez

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to