cfinke/Typo.js — pull request #23 by mcasperson (2013-06-07 05:41:05+00:00)
Title: suggest() uses web workers

I've rewritten the suggest() function to take advantage of web workers. This significantly reduces the time it takes to get suggestions for words more than about 5 characters long.

I updated the English tests, but because of the way the web workers split up their processing, deepEqual() sometimes doesn't work because the arrays can be constructed in a different order. But the theory is sound :).