DEV Community

loading...

Discussion on: 60fps Javascript while you stringify, parse, process, compress and filter 100Mbs of data

miketalbot profile image
Mike Talbot Author

I think you could probably just get away with the coroutine runner in this article and not bother with js-c, that's probably a few lines of code that will deal with your requirements.

Thread Thread
calvintwr profile image
calvintwr

Thank mate you are awesome!

Thread Thread
calvintwr profile image
calvintwr

I found out that Uint8Array is not a transferrable object, is it? developer.mozilla.org/en-US/docs/W...

But ArrayBuffer is. And ImageData has property .data.buffer that is ArrayBuffer, so i have used that to transfer between the main and worker thread: github.com/calvintwr/blitz-hermite...

✌️👍