[Haskell-cafe] performance of map reduce

Bryan O'Sullivan bos at serpentine.com
Fri Sep 19 17:48:15 EDT 2008


On Fri, Sep 19, 2008 at 2:31 PM, Manlio Perillo <manlio_perillo at libero.it>wrote:

>
> By the way, this phrase:
> "We allow multiple threads to read different chunks at once by supplying
> each one with a distinct file handle, all reading the same file"
> here:
>
> http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html#id677193
>
> IMHO is not correct, or at least misleading.
>

It's both correct and, er, leading. The files are opened in a single thread,
and then the file handles are read by multiple threads.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080919/3c3e1f5b/attachment.htm


More information about the Haskell-Cafe mailing list