Why is partition no good list producer?

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Wed Feb 25 11:21:33 EST 2004


Jan Scheffczyk wrote:

> I'm about to optimize a fairly large Haskell program, which uses 
> partition quite often (and a fold immediately afterwards).
> The GHC User guide section about RULE pragmas says that filter is a 
> good producer, whereas partition is not mentioned (therefore, I 
> assume it is not).

what you observe is possibly related to this:

http://www.mail-archive.com/[email protected]/msg07508.html
-- 
-- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------




More information about the Glasgow-haskell-users mailing list