News for hackers. Stuff that matters.
Re:Simple MapReduce with Javascript by Stuk on Sunday May 08, 2011 @06:14AM (#2525612)
This isn't a particularly good example as you're doing all the work adding up the word counts in your reduce function.

A better example would count the occurrences of the words in each line in the map, and then add up the totals in reduce.

There are no comments on this comment yet.