Wow. It is fast and quite compact too.
- What’s the advantage of using ServiceWorkers over WebWorkers?
- Are you sharing the mesh between tabs? or are you relying on IndexDB for that?
- How hard is it to debug this?
–
say you created a new function that wasn’t in the service worker, I’m assuming you have to send that function into the worker via postMessage and have that be evaled as well? Is that right? So are you building some sort of dependency graph as well? or do all necessary functions get compiled into the worker file initially and you’re just calling them?