Some feedback for my own project
When I was still attending Fullstack, Jon and I worked on an open source library to utilize multithreading in JavaScript.
Now that I look back on this project, I have some feedback to give myself.
In this project, a new web worker is spawned for each element in the array.
While this is fine for smaller arrays, like the ones used in our demo, if the arrays become much larger, this can become extremely inefficient from the overhead of creating and destroying threads.
The solution is to use a thread pool, to set aside a finite number of threads that will juggle the queue of tasks given to them.











