The only thing that I've used this for was a less glitchy timer than setTimeout ( https://github.com/Marak/JSONloops/blob/master/lib/JSONloops/looper.js#L131-162). I'm sure there are better ways to get a precision timer, but we were deep in the zone of music hack day.
-- Elijah On Thu, May 31, 2012 at 1:21 PM, Paddy Byers <[email protected]> wrote: > Hi, > > If a collection is of "indefinite size" then it should not be loaded >> entirely in to memory in order to accomplish computation, it should be >> streamed. In the case of streaming the collection you can iteratively >> perform the computation without locking up the process indefinitely and >> without taking on a large memory footprint of either the original >> collection or even what has already been processed. >> > > Yes, you stream application data in and out of your application. But I'm > talking about application state, such as anything you have on a > per-connection or per-token basis, for example. It's in memory because it's > your application, not your application's data. > > Thanks - Paddy >
