3 ms·
Deeply misleading title. It's basically pointing out that if you use "Web Worker" then you can do stuff in the browser in background. It's really nothing to do
by ColinWright 11y ago
Deeply misleading title. It's basically pointing out that if you use "Web Worker" then you can do stuff in the browser in background. It's really nothing to do with sorting the array - it's just using that as a task for the background work.
- afshinmeh 11y agoThank you. I just updated the title.
- ColinWright 11y agoYou need to update the title on this submission as well: Demonstrating Web Worker: Background sorting a 50K array in your browser Or something similar.
- afshinmeh 11y agoCool, Updated.
- deleted 11y ago[deleted]
- ColinWright 11y agoI strongly recommend you update your web page title to say the same thing, otherwise the mods here may adjust this title to match that one.
- MrBuddyCasino 11y agoYeah, its even a bit slower since it doesn't appear to be using multiple workers. Slightly OT, but I found that you can detect the number of available cores with "navigator.hardwareConcurrency", but unfortunately that includes HT threads, at least in Chrome on OSX, so it says 8 instead of 4 on my machine. Is there a workaround?