id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5317,non-linear complexity of :reload combined with :module in ghci,SimonHengel,,"{{{ghci}}} shows non-linear time complexity for a sequence of
{{{:module}}} and {{{:reload}}} commands, say we do multiple times:


{{{
ghci> :module *Foo
ghci> :reload
}}}

Steps to reproduce:

{{{
$ time for i in {1..10}; do echo -e ':m Prelude\n:r'; done |ghci
$ time for i in {1..99}; do echo -e ':m Prelude\n:r'; done |ghci
}}}

On my system the first run uses 1 second of CPU time, the second 39
seconds.

(with GHC 7.0.3, Linux x86_64)",bug,closed,normal,7.4.1,Compiler,7.0.3,wontfix,,simon.hengel@…,Unknown/Multiple,Unknown/Multiple,None/Unknown,,,,,
