News for hackers. Stuff that matters.
Re:“Implement text editor DOM updates manually instead of vi... by jerf on Saturday February 28, 2015 @05:11PM (#9125238)
For this use case, I suspect you wouldn't be able to win much with WebWorkers. You'd have to profile, but having done a lot of profiling with multithreading in several environments I've learned to expect disappointment relative to my initial lofty hopes. It feels like it ought to be easy to get linear speedups and that it ought to take something really unusual and special to slow it down; in practice you're lucky to even get "good" speedups.

There are no comments on this comment yet.