Looing for advice on profiling

Simon Marlow simonmar at microsoft.com
Wed Nov 10 04:59:36 EST 2004


On 09 November 2004 17:04, Duncan Coutts wrote:

>> Are you using BinMem, or BinIO?
> 
> BinIO

Aaaaah.  BinIO is going to be a lot slower than BinMem, because it does
an hPutChar for each character, whereas BinMem just writes into an
array.  I never really optimised the BinIO path, because we use BinMem
exclusively in GHC.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list