News for hackers. Stuff that matters.
Re:Demonstrating Web Worker: Sorting a 50K array in your bro... by jlarocco on Sunday May 31, 2015 @05:28PM (#9635635)
I think it should be more clear that it's using bubble sort to purposely take a longer time than necessary.

I'd expect sorting an array of 50k elements to be instantaneous on a modern machine, even in Javascript.

My first thought was, "WTF? Sorting 50k elements is a big deal?"

Re:Demonstrating Web Worker: Sorting a 50K array in your bro... by qw on Sunday May 31, 2015 @06:25PM (#9635840)
It seems that there are significant differences in browsers as well.

  Windows 8
  --------------------
  Firefox v38 | 2629ms
  Chrome v40  | 4281ms 
  IE v11      | 7899ms