Kai Dorschner

Results 74 comments of Kai Dorschner

My only objection: Rather than putting the chunks in a definite frame (like you said 50) I would listen for the heartbeat of the browser. `var start = Date.now()` before...

The simplicity argument is signed. But what if you have a costly DOM insertion which itself needs 300ms? Then you would have 300x300ms of blocking iterations. In case of the...

Not complicated at all, it's that easy: ``` javascript var start = Date.now(); for (;;) { if (Date.now() - start < 25) appendNode(); else return deferToNextEventLoop(); } ``` (pseudocode)

Touché. For the ko world it might be true. That's why I'm requesting help here :) Thank you guys for your time and your help so far.

> it can be a very long atomic thing lol. Which consequently can't be deferred to multiple event-loops. Also WebWorkers won't work here, because they [don't have access to the...

> The default could be to not use any chunking for keeping the performance, and developers could pass a desired value based on their knowledge about their data structure. I...

No probs. Contributions are always welcome, regardless what time :) Thank you!

In the meantime, maybe I can have a look at that stuff. Can you provide some details how you would solve that around [the whole insertion](../blob/master/dist/knockout-fast-foreach.js#L309)? Sounds like [Promises](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise) are...

I stay tuned and subscribe to that issue :)