[Haskell-cafe] Data.List.Split

George Pollard porges at porg.es
Sun Dec 14 01:51:12 EST 2008


On Sun, 2008-12-14 at 19:46 +1300, George Pollard wrote:
> On Sun, 2008-12-14 at 00:35 -0500, Adam Vogt wrote:
> > On another note, is there much use of such simple library functions: does 
> > concatMap, for instance, save anything other than a couple parantheses, or 
> > does (concat . map) not necessarily get optimized into the same thing
> 
> Bart Massey’s results suggest very little difference:
> 	http://wiki.cs.pdx.edu/forge/concatmap.html
> 
> (Yellow blobs + green crosses.)

I should have said that, on the other hand, with stream fusion enabled,
(concat . map) outperforms (concatMap) :)

- George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20081214/792ecfa3/attachment.bin


More information about the Haskell-Cafe mailing list