patch applied (ghc-7.0/packages/base): Always use 8k buffers instead of BUFSIZ

Ian Lynagh igloo at earth.li
Tue Jan 11 23:24:17 CET 2011


Tue Dec 21 07:51:54 PST 2010  Simon Marlow <marlowsd at gmail.com>
  * Always use 8k buffers instead of BUFSIZ
  This makes a huge difference to I/O performance for me on Windows,
  where BUFSIZ is 512.  It might help on Mac too.

    M ./GHC/IO/FD.hs -1 +8
    M ./GHC/IO/Handle/Internals.hs -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc-7.0/packages/base;a=darcs_commitdiff;h=20101221155154-12142-5be721827f7877b90d85a8b2e35f149dbc796f80.gz



More information about the Cvs-libraries mailing list