Changes between Initial Version and Version 1 of Ticket #10535


Ignore:
Timestamp:
Jun 16, 2015 1:37:46 PM (4 years ago)
Author:
AlexET
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10535 – Description

    initial v1  
    2020}}}
    2121
    22 The recursive call in replicateM' gets floated out. This then causes a very large (200^3 elements) list to be kept in memory instead of being lazily produced and consumed each time.
     22The recursive call in replicateM' gets floated out. This then causes a very large (200^3^ elements) list to be kept in memory instead of being lazily produced and consumed each time.
    2323
    2424A similar thing happens to the replicateM in Control.Monad but it is harder to spot as a lot of specialisation and fusion goes on before the float-out happens