01:16:50  * zzz_joined
01:19:35  * zzzquit (Ping timeout: 240 seconds)
01:23:20  * zzz_quit (Quit: Leaving...)
02:27:32  * switchp0rtpart ("Textual IRC Client: www.textualapp.com")
05:53:37  * sector_0quit (Quit: Leaving)
09:41:41  * unident77joined
09:41:52  * unident77part
17:34:18  * sector_0joined
17:34:26  <sector_0>hello
17:35:30  <sector_0>if I have a very long JSON object (an array of objects) to return as a response to request, how should I go about returning this?
17:38:10  <sector_0>the JSON object is basically an array of objects that has to be constructed at the time of the request (since certain fields depend on the current state)
17:38:56  <sector_0>so should I call res.write() for each item in the array during iteration, or for every 50 or so items, or is there a better way of doing it altogether?