Re: non-linear complexity of :reload combined with :module in ghci

2011-07-12 Thread Simon Hengel
> Could you create a ticket please? That looks like an interesting > result and we should investigate. done [1] Cheers. [1] http://hackage.haskell.org/trac/ghc/ticket/5317 ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http:/

Re: non-linear complexity of :reload combined with :module in ghci

2011-07-11 Thread Simon Marlow
On 04/07/2011 22:45, Simon Hengel wrote: Hi all, I realized that ghci shows non-linear time complexity for a sequence of :module and :reload commands, say we do multiple times: :module *Foo :reload Steps to reproduce: time for i in {1..10}; do echo -e ':m Prelude\n:r'; done |ghci t

non-linear complexity of :reload combined with :module in ghci

2011-07-04 Thread Simon Hengel
Hi all, I realized that ghci shows non-linear time complexity for a sequence of :module and :reload commands, say we do multiple times: :module *Foo :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: