Hello Daniel,

Saturday, February 28, 2009, 3:10:44 AM, you wrote:

>> print may waste a lot of time, locking stdout for every
>> line printed

>     hout <- openFile (args!!1) WriteMode
>     mapM_ (hPrint hout) $ sort $ blocks content

> ? I find hardly any difference, though.

no difference. if handle is locked for every output operation - both
versions will be equivalent. if not - they also will be equivalent :)


-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to