Consider whether Pthreads can speed things up
Emscripten does not support OpenMP, and thus many performance optimizations are unavailable. However, Emscripten does support Pthreads. We should see if parallelizing the backend core logic through Pthreads leads to performance gains for the WASM port.