Do you mean TypedArray? [0]
> Never use .forEach(), always use a for loop. Same applies to methods like .map().
I just found it out yesterday [1]. It's a nice trick. I already changed all forEach (even tho it maked my eyes a little bit wet).
> some clever stuff with WebGL2, WASM or Web Workers
I already use Web Workers with async calls to divide main task into smaller pieces and not to block main render. But I am pretty new to this concept so I don't grasp fully what is the overhead of using this method.
Thank you for the video - will check it now.
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[1] https://leanylabs.com/blog/js-forEach-map-reduce-vs-for-for_...