I have a function like this:
Let's say I want to call it 100 times per tick. Is it possible to do these 100 iterations on separate threads using Web Workers for better CPU performance?
Develop games in your browser. Powerful, performant & highly capable.