[Haskell-cafe] Re: OCaml list sees abysmal Language
simonmar at microsoft.com
Fri Oct 8 06:22:12 EDT 2004
On 07 October 2004 18:23, Ketil Malde wrote:
> Couldn't readFile et al. provide the standard interface, but use
> hGetBuf tricks (e.g. from your 'wc' entry) behind the curtains?
readFile does do buffering behind the scenes, that's not the problem.
The problem is doing the computation on a [Char] instead of a raw buffer
There are various known techniques that could be used to speed up GHC's
implementation of lists, none of which we've ever tried. This might be
a good area for experimentation, if anyone's looking for something to do
More information about the Haskell-Cafe