Always use 8k buffers instead of BUFSIZ
authorSimon Marlow <marlowsd@gmail.com>
Tue, 21 Dec 2010 15:51:54 +0000 (15:51 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 21 Dec 2010 15:51:54 +0000 (15:51 +0000)
commit9d4854353702fa835ba9a8ed57d4f0d689877d07
tree3b764d54e822e697c33a39acba1d423c8fdd048d
parentb93d6da530a539bc3aa68816d1998e8826c40345
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.
GHC/IO/FD.hs
GHC/IO/Handle/Internals.hs