Re:Show HN: Chunkify.js – A functional API to unblock your J...
by Retr0spectrum on Sunday October 04, 2015 @04:50PM
(#10328765)
I usually just do something like this:
It might not be as fast in some cases, but it works for me.
[ Parent
| on HN ]
Re:Show HN: Chunkify.js – A functional API to unblock your J...
by yangmillstheory on Sunday October 04, 2015 @04:59PM
(#10328801)
It works - and that's the core of what's being done if you look at the code. I just wanted to make something re-usable, configurable, and play around with ES6 generators :).
Re:Show HN: Chunkify.js – A functional API to unblock your J...
by Retr0spectrum on Monday October 05, 2015 @12:09PM
(#10332739)
Do you think it would be possible to dynamically adjust the chunk size for optimum performance on different hardware/browsers? That would be very useful.
Re:Show HN: Chunkify.js – A functional API to unblock your J...
by yangmillstheory on Monday October 05, 2015 @12:28PM
(#10332913)
The API exposes the chunk/delay parameters as options, so it's definitely possible.
If you mean having the library code "learn" the optimal chunk/delay for a given run, that's possible too, but I'd have to wonder about alternative solutions at that point.
Re:Show HN: Chunkify.js – A functional API to unblock your J...
by yangmillstheory on Sunday October 11, 2015 @12:17PM
(#10369843)
I you look at the demo site again, I made the chunk size and delay user-configurable, and I'm displaying the current running code.